This document provides an overview and agenda for a presentation on Windows PowerShell. It introduces PowerShell concepts like the interactive shell, cmdlets, objects, variables, operators, and scripting best practices. It also demonstrates how to work with different object types like WMI, COM, and .NET objects from within PowerShell scripts. The goal is to familiarize attendees with PowerShell scripting and automation capabilities.
Developer and team leader focused on improving performance and usability in Odoo. Key changes included optimizing computed fields, caches, and recomputations to reduce queries and batch operations. Multi-company support was also enhanced through new context and environment attributes to control record visibility and target company.
The document discusses PHP regular expression functions including preg_filter(), preg_grep(), preg_last_error(), preg_match(), preg_match_all(), preg_replace(), preg_replace_callback(), preg_replace_callback_array(), preg_split(), and preg_quote(). It provides examples of how to use each function, describing what each returns or does. It also covers regular expression modifiers, patterns, and metacharacters.
This document contains a summary of JavaScript features introduced in ES6 and later versions by Janghyun Han. It discusses features such as variables, arrow functions, template literals, classes, modules, promises, and generators. For each feature, it provides code examples to demonstrate usage and differences from earlier JavaScript versions. The document aims to help readers learn about modern JavaScript language improvements.
This document discusses various PHP functions categorized into different groups like: - Date Functions: date, getdate, setdate, Checkdate, time, mktime - String Functions: strtolower, strtoupper, strlen, trim, substr, strcmp etc. - Math Functions: abs, ceil, floor, round, pow, sqrt, rand - User Defined Functions: functions with arguments, default arguments, returning values - File Handling Functions: fopen, fread, fwrite, fclose to handle files - Miscellaneous Functions: define, constant, include, require, header to define constants, include files etc.
With more and more sites falling victim to data theft, you've probably read the list of things (not) to do to write secure code. But what else should you do to make sure your code and the rest of your web stack is secure ? In this tutorial we'll go through the basic and more advanced techniques of securing your web and database servers, securing your backend PHP code and your frontend javascript code. We'll also look at how you can build code that detects and blocks intrusion attempts and a bunch of other tips and tricks to make sure your customer data stays secure.
The document discusses Gearman, an open source software framework for distributing tasks across multiple machines. It describes how Gearman allows for asynchronous task processing by queuing jobs on a central job server that workers on other machines can pick up. The key advantages of Gearman include high performance, scalability, load balancing, and the ability to perform tasks asynchronously and in parallel. The document also provides code examples of how to use the Gearman PHP client and worker APIs to process jobs. It discusses challenges like handling task failures and explores ways to retry failed tasks, such as by scheduling suspended jobs to be executed again at increasing time intervals.
- Odoo 13 includes the biggest ORM refactoring since OpenERP 8, focusing on performance improvements by optimizing the in-memory cache, reducing SQL queries, and delaying computations. - Key changes include a single unified cache, preferring in-memory updates over SQL, optimizing dependency trees, and avoiding unnecessary format conversions to reduce overhead. - Onchange methods are being deprecated in favor of computed fields, which provide a cleaner separation of business logic and interface concerns. Computed fields work both in Python and JavaScript and have well-defined dependencies.
This document provides an overview of PowerShell fundamentals that will be covered, including custom objects, advanced function parameters, building proper functions, the help system, pipelines, scope, and more. It does not cover PowerShell syntax or specific SharePoint cmdlets. The help system, pipelines, scope, custom objects, functions, parameter validation, verbose/debug output, and converting scripts to modules are discussed in more detail. Code examples are provided to demonstrate many of these concepts.
This document discusses using Python to connect to and interact with a PostgreSQL database. It covers: - Popular Python database drivers for PostgreSQL, including Psycopg which is the most full-featured. - The basics of connecting to a database, executing queries, and fetching results using the DB-API standard. This includes passing parameters, handling different data types, and error handling. - Additional Psycopg features like server-side cursors, transaction handling, and custom connection factories to access columns by name rather than number. In summary, it provides an overview of using Python with PostgreSQL for both basic and advanced database operations from the Python side.
Learn the ins and outs of running background tasks with the popular python module Celery. We'll hit the ground running. With everything you need to know to run your first task, to scaling your stack to run millions each day.
This document provides an overview of setting up a Flask application with common extensions for functionality like user authentication, database management, forms validation, and sending email. It demonstrates initializing extensions like Flask-SQLAlchemy, Flask-Login, Flask-Migrate, Flask-Script, and Flask-Mail. Models and views are defined to handle user registration and login. The Flask application is configured and commands are provided to initialize the database, run migrations, and start a development server.
Understanding GraphQL. This covers what GraphQL is and what it can be used for. Mutators, Schemas, Queries etc are covered
This document discusses unit testing JavaScript code using Mocha and Node.js. It covers what unit testing is, why it is important, how to install and use Mocha and Node.js, and how to write testable code and tests. Advanced testing techniques like asynchronous tests, spies, stubs, mocks, fake timers, and testing DOM manipulation with jsdom and jQuery are also explained.
ECMAScript6: Novedades y navegadores que dan soporte a ECMAScript6. Presentado por ings.: Alex Adriá y Mario García
Python and PostgreSQL, A wonderful Wedding. But are you sure that you know everything ? Not sure. This presentation is for you.
A wise hacker said: Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. Regular expressions are a powerful tool in our hands and a first class citizen in ruby so it is tempting to overuse them. But knowing them and using them properly is a fundamental asset of every developer. We’ll see hands-on examples of proper Reg Exps usage in ruby code, we’ll also look at bad and ugly cases and learn how to approach writing, testing and debugging regular expressions.
This document provides an overview of Python fundamentals including installing Python, hidden documentation tools, data types, strings, lists, tuples, dictionaries, control flow statements, functions, classes, the datetime library, importing modules, and web2py fundamentals such as the request and response objects, templates, controllers, models, and more. Key concepts covered include Python types like strings, lists, tuples and dictionaries, control structures like if/else and for loops, functions, classes and objects, and the basics of using the web2py framework to build web applications.
1) The document discusses a PowerShell training session on scripting and modularization. 2) The session will demonstrate how to create a distributable PowerShell module that retrieves inventory information from computers. 3) The presentation covers scripting constructs like If/ElseIf/Else statements and loops, and principles of modularization like having individual functions perform discrete tasks.
Don Reese completed the Advanced Tools & Scripting with PowerShell 3.0 Jump Start course on May 23, 2016. The course focused on advanced tools and scripting using PowerShell version 3.0. Don Reese achieved this certification on the specified date.
This document provides an overview and agenda for a PowerShell crash course presentation. It introduces PowerShell concepts like cmdlets, aliases, snap-ins, objects, and the pipeline. It also covers PowerShell security features and using alternate credentials. The agenda includes a PowerShell backgrounder, accomplishing admin tasks with PowerShell, and available resources.
Resources: http://1drv.ms/1I3d9LE An introduction for Windows PowerShell scripting and showcasing its capabilities.
A session at the Sela Developer Practice covering IntelliTrace, a powerful feature of Visual Studio Ultimate that can provide historical debugging information collected in development or production environments. IntelliTrace is a hybrid logger-profiler-debugger that can uncover super-difficult bugs by tracing through the history of the application's execution.
This document provides an overview of a PowerShell Basics training session. It discusses the curriculum, which will cover topics like the basics of PowerShell, cmdlets, piping, and scripting over 4 days. It highlights why PowerShell is useful for system administrators by providing a simplified syntax and being more secure than VBScript. PowerShell allows familiar commands and integrates with Microsoft products like Windows, Exchange, and SQL Server.
PowerShell is everywhere. Admit it, even if you don't like change, you've probably needed to run a one-off command or small script in order to accomplish something...whether it was in AD, Exchange, VMWare or something else. Running a single command is one thing, but what about making a reusable piece of code that anyone can run, or even better, schedule it? Get a report every Monday about drive space, remove old log files every month, report on logon failures... We're going to take a command that fulfills a 'single-serving' role and turn it into something more dynamic; something that can be run over and over and be both relevant and timely! Be ready to learn about parameters, basic functions, comment-based help, and other useful techniques - bring your laptop and code along with us! Let's build a PowerShell tool! Watch me present this topic via YouTube: https://youtu.be/akTypRvwr7g (video 1 of 2)