This document lists 10 reasons to use CoffeeScript and fall in love with it. It discusses how CoffeeScript has clean syntax inspired by Ruby and Python, enforces good JavaScript practices, includes features like fat arrows, string interpolation, list comprehensions, and conditional modifiers. It also covers how CoffeeScript implements classes and has support from Brendan Eich as well as acceptance in the community and learning resources.
Fizz and buzz of computer programs in python.Esehara Shigeo
This document discusses various approaches to solving the FizzBuzz problem in Python without using traditional control structures like if statements. It presents solutions using lists, the itertools module, recursion, and string indexing to represent the Fizz, Buzz, and FizzBuzz outputs as binary flags and select the appropriate output for each number solely through mathematical operations on the number without any conditional logic.
This document discusses installing PHP7 on CentOS7 using Ansible. It provides commands to install the EPEL and Remi repositories, install PHP7 and related packages, and enable PHP7. It then shows how this process can be automated using Ansible roles and playbooks, including links to the example role and playbook on GitHub.
This document provides an overview of useful commands and tools for web developers working in a UNIX environment. It covers topics such as shells (bash, zsh, fish), command history, file operations, piping, redirection, navigation, processes, archiving, executables, cron jobs, customizing the command prompt, aliases, and recommends useful programs like vim and tmux. The presentation aims to help developers learn shell and become a "kung fu master" of the terminal.
The document lists several dangerous commands that can be run on a Linux or Unix system and cause data loss or system instability. It also provides basic commands for file operations, package management, networking tasks and changing permissions and passwords. The dangerous commands include deleting all files in the root folder, formatting a partition, executing a fork bomb to overload the system, and overwriting the file system on a designated device. The basic commands cover file listing, copying, downloading, creating directories and viewing directory information. It also explains Linux file permissions in terms of read, write and execute attributes.
gitfs is a FUSE file system that fully integrates with git. You can mount a remote repository's branch locally, and any subsequent changes made to the files will be automatically committed to the remote.
This document provides instructions for installing R and using shell commands from within R on a CentOS 7 system. It explains how to install R using yum by first installing the EPEL repository and enabling it. It then shows how to use the system() function to run bash, tcsh, or other shell scripts from within R. The document also provides an example csh script and shows how to make it executable. Finally, it describes how to optionally install the GNOME desktop environment.
This document provides an introduction to Linux and Unix operating systems. It discusses what Unix and Linux are, compares different Linux distributions, and describes basic commands for file navigation, text editing, and system administration. It also lists additional references for further reading. The document is presented as a slideshow that was likely used for a classroom presentation or tutorial on Linux basics.
The document lists several dangerous Linux commands that could damage a system, as well as some basic Linux commands. It then discusses Linux file permissions and provides examples of changing permissions using chmod. Finally, it describes how to crack Windows passwords by mounting a Windows partition and using chntpw on the SAM file.
Fizz and buzz of computer programs in python.Esehara Shigeo
This document discusses various approaches to solving the FizzBuzz problem in Python without using traditional control structures like if statements. It presents solutions using lists, the itertools module, recursion, and string indexing to represent the Fizz, Buzz, and FizzBuzz outputs as binary flags and select the appropriate output for each number solely through mathematical operations on the number without any conditional logic.
This document discusses installing PHP7 on CentOS7 using Ansible. It provides commands to install the EPEL and Remi repositories, install PHP7 and related packages, and enable PHP7. It then shows how this process can be automated using Ansible roles and playbooks, including links to the example role and playbook on GitHub.
This document provides an overview of useful commands and tools for web developers working in a UNIX environment. It covers topics such as shells (bash, zsh, fish), command history, file operations, piping, redirection, navigation, processes, archiving, executables, cron jobs, customizing the command prompt, aliases, and recommends useful programs like vim and tmux. The presentation aims to help developers learn shell and become a "kung fu master" of the terminal.
The document lists several dangerous commands that can be run on a Linux or Unix system and cause data loss or system instability. It also provides basic commands for file operations, package management, networking tasks and changing permissions and passwords. The dangerous commands include deleting all files in the root folder, formatting a partition, executing a fork bomb to overload the system, and overwriting the file system on a designated device. The basic commands cover file listing, copying, downloading, creating directories and viewing directory information. It also explains Linux file permissions in terms of read, write and execute attributes.
gitfs is a FUSE file system that fully integrates with git. You can mount a remote repository's branch locally, and any subsequent changes made to the files will be automatically committed to the remote.
This document provides instructions for installing R and using shell commands from within R on a CentOS 7 system. It explains how to install R using yum by first installing the EPEL repository and enabling it. It then shows how to use the system() function to run bash, tcsh, or other shell scripts from within R. The document also provides an example csh script and shows how to make it executable. Finally, it describes how to optionally install the GNOME desktop environment.
This document provides an introduction to Linux and Unix operating systems. It discusses what Unix and Linux are, compares different Linux distributions, and describes basic commands for file navigation, text editing, and system administration. It also lists additional references for further reading. The document is presented as a slideshow that was likely used for a classroom presentation or tutorial on Linux basics.
The document lists several dangerous Linux commands that could damage a system, as well as some basic Linux commands. It then discusses Linux file permissions and provides examples of changing permissions using chmod. Finally, it describes how to crack Windows passwords by mounting a Windows partition and using chntpw on the SAM file.
A workshop by Google Developer Student Club - RMIT University on Python conducted by Tom Frantz. Find us @ https://gdsc.community.dev/rmit-university-melbourne/
Tom Frantz - https://www.linkedin.com/in/thomas-albert-frantz/
The document contains code for a programming system menu program in Vietnamese. It defines data segments for storing menu text and prompts for 20 exercises. It displays a main menu, gets a numeric key input from the user, and branches to the corresponding exercise code section to display prompts and get/display additional input. The exercises include getting single character input and output, string input/output, arithmetic operations, and other basic programming tasks.
The document discusses different approaches for testing file manipulation in Ruby without actually creating or modifying files on disk. It begins by showing some simple tests that create a file, then explores issues that can arise like read-only file systems. It introduces the FakeFS and MemFS gems for faking file system operations in tests. FakeFS overwrites core classes so options may be ignored, while MemFS avoids this by only overriding low-level classes. In the end, it recommends MemFS for faking file system operations during tests to avoid unintended behaviors and get accurate test results.
The document summarizes the key features of ECMAScript 6 (ES6), the 2015 version of JavaScript. Some of the major additions covered include let and const for block scoping, arrow functions, template strings, enhanced object properties, the spread operator, destructuring assignments, classes and inheritance, generators, and proxies. ES6 aims to make JavaScript a more robust and feature-rich programming language.
Resque is a Redis-backed Ruby library for creating background jobs. It allows Ruby objects to be enqueued in Redis and processed asynchronously in the background by workers. Workers pull jobs from the Redis queue and process them. This keeps background jobs from blocking the web process. Resque uses Redis for reliable queuing and storage of job queues rather than a database. It is simple to use and integrates with Ruby on Rails and other frameworks.
The document summarizes the history of web development from 1993 to the present. It discusses early technologies like Ajax and Flash from 1999-2005. It then covers the Dojo JavaScript framework, noting technologies it implemented early like asynchronous module loading. The document concludes by discussing current trends in frontend frameworks, modular JavaScript, and the continued potential of Node.js on the backend.
The document discusses building compilers and domain-specific languages (DSLs) in F#. It describes using FParsec for parsing, building an abstract syntax tree (AST), and interpretation/execution. Examples include building parsers and interpreters for a turtle graphics language, an internal DSL for build automation, an external DSL for games, and a Small Basic compiler. It recommends resources like F# Koans, TryFSharp.org and the book for learning more.
This document provides information on 13 young adult authors, including Anthony Horowitz, Deborah Wiles, Peg Kehret, Gordon Korman, Mike Lupica, Ann M. Martin, Wendy Mass, Gary Paulsen, Rick Riordan, J.K. Rowling, Louis Sachar, Neal Shusterman, Roland Smith, Wendeline Van Draanen, and Sarah Weeks. For each author, it lists some of their books and series across genres like adventure, mystery, sports fiction, fantasy, historical fiction, and more. It also includes some book trailers and links to author websites for further information.
The document is a presentation about Ruby on Rails that discusses what Rails is, its architecture and philosophy, how to create a basic Rails application including generating models and migrations, associations between models, and more. Key points covered include Rails being a full-stack framework focused on database-backed web applications using the MVC pattern, its conventions over configuration approach, and Ruby being the language Rails is built on.
http://inarocket.com
Learn BEM fundamentals as fast as possible. What is BEM (Block, element, modifier), BEM syntax, how it works with a real example, etc.
How to Build a Dynamic Social Media PlanPost Planner
Stop guessing and wasting your time on networks and strategies that don’t work!
Join Rebekah Radice and Katie Lance to learn how to optimize your social networks, the best kept secrets for hot content, top time management tools, and much more!
Watch the replay here: bit.ly/socialmedia-plan
The document discusses how personalization and dynamic content are becoming increasingly important on websites. It notes that 52% of marketers see content personalization as critical and 75% of consumers like it when brands personalize their content. However, personalization can create issues for search engine optimization as dynamic URLs and content are more difficult for search engines to index than static pages. The document provides tips for SEOs to help address these personalization and SEO challenges, such as using static URLs when possible and submitting accurate sitemaps.
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldabaux singapore
How can we take UX and Data Storytelling out of the tech context and use them to change the way government behaves?
Showcasing the truth is the highest goal of data storytelling. Because the design of a chart can affect the interpretation of data in a major way, one must wield visual tools with care and deliberation. Using quantitative facts to evoke an emotional response is best achieved with the combination of UX and data storytelling.
This document summarizes a study of CEO succession events among the largest 100 U.S. corporations between 2005-2015. The study analyzed executives who were passed over for the CEO role ("succession losers") and their subsequent careers. It found that 74% of passed over executives left their companies, with 30% eventually becoming CEOs elsewhere. However, companies led by succession losers saw average stock price declines of 13% over 3 years, compared to gains for companies whose CEO selections remained unchanged. The findings suggest that boards generally identify the most qualified CEO candidates, though differences between internal and external hires complicate comparisons.
A workshop by Google Developer Student Club - RMIT University on Python conducted by Tom Frantz. Find us @ https://gdsc.community.dev/rmit-university-melbourne/
Tom Frantz - https://www.linkedin.com/in/thomas-albert-frantz/
The document contains code for a programming system menu program in Vietnamese. It defines data segments for storing menu text and prompts for 20 exercises. It displays a main menu, gets a numeric key input from the user, and branches to the corresponding exercise code section to display prompts and get/display additional input. The exercises include getting single character input and output, string input/output, arithmetic operations, and other basic programming tasks.
The document discusses different approaches for testing file manipulation in Ruby without actually creating or modifying files on disk. It begins by showing some simple tests that create a file, then explores issues that can arise like read-only file systems. It introduces the FakeFS and MemFS gems for faking file system operations in tests. FakeFS overwrites core classes so options may be ignored, while MemFS avoids this by only overriding low-level classes. In the end, it recommends MemFS for faking file system operations during tests to avoid unintended behaviors and get accurate test results.
The document summarizes the key features of ECMAScript 6 (ES6), the 2015 version of JavaScript. Some of the major additions covered include let and const for block scoping, arrow functions, template strings, enhanced object properties, the spread operator, destructuring assignments, classes and inheritance, generators, and proxies. ES6 aims to make JavaScript a more robust and feature-rich programming language.
Resque is a Redis-backed Ruby library for creating background jobs. It allows Ruby objects to be enqueued in Redis and processed asynchronously in the background by workers. Workers pull jobs from the Redis queue and process them. This keeps background jobs from blocking the web process. Resque uses Redis for reliable queuing and storage of job queues rather than a database. It is simple to use and integrates with Ruby on Rails and other frameworks.
The document summarizes the history of web development from 1993 to the present. It discusses early technologies like Ajax and Flash from 1999-2005. It then covers the Dojo JavaScript framework, noting technologies it implemented early like asynchronous module loading. The document concludes by discussing current trends in frontend frameworks, modular JavaScript, and the continued potential of Node.js on the backend.
The document discusses building compilers and domain-specific languages (DSLs) in F#. It describes using FParsec for parsing, building an abstract syntax tree (AST), and interpretation/execution. Examples include building parsers and interpreters for a turtle graphics language, an internal DSL for build automation, an external DSL for games, and a Small Basic compiler. It recommends resources like F# Koans, TryFSharp.org and the book for learning more.
This document provides information on 13 young adult authors, including Anthony Horowitz, Deborah Wiles, Peg Kehret, Gordon Korman, Mike Lupica, Ann M. Martin, Wendy Mass, Gary Paulsen, Rick Riordan, J.K. Rowling, Louis Sachar, Neal Shusterman, Roland Smith, Wendeline Van Draanen, and Sarah Weeks. For each author, it lists some of their books and series across genres like adventure, mystery, sports fiction, fantasy, historical fiction, and more. It also includes some book trailers and links to author websites for further information.
The document is a presentation about Ruby on Rails that discusses what Rails is, its architecture and philosophy, how to create a basic Rails application including generating models and migrations, associations between models, and more. Key points covered include Rails being a full-stack framework focused on database-backed web applications using the MVC pattern, its conventions over configuration approach, and Ruby being the language Rails is built on.
http://inarocket.com
Learn BEM fundamentals as fast as possible. What is BEM (Block, element, modifier), BEM syntax, how it works with a real example, etc.
How to Build a Dynamic Social Media PlanPost Planner
Stop guessing and wasting your time on networks and strategies that don’t work!
Join Rebekah Radice and Katie Lance to learn how to optimize your social networks, the best kept secrets for hot content, top time management tools, and much more!
Watch the replay here: bit.ly/socialmedia-plan
The document discusses how personalization and dynamic content are becoming increasingly important on websites. It notes that 52% of marketers see content personalization as critical and 75% of consumers like it when brands personalize their content. However, personalization can create issues for search engine optimization as dynamic URLs and content are more difficult for search engines to index than static pages. The document provides tips for SEOs to help address these personalization and SEO challenges, such as using static URLs when possible and submitting accurate sitemaps.
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldabaux singapore
How can we take UX and Data Storytelling out of the tech context and use them to change the way government behaves?
Showcasing the truth is the highest goal of data storytelling. Because the design of a chart can affect the interpretation of data in a major way, one must wield visual tools with care and deliberation. Using quantitative facts to evoke an emotional response is best achieved with the combination of UX and data storytelling.
This document summarizes a study of CEO succession events among the largest 100 U.S. corporations between 2005-2015. The study analyzed executives who were passed over for the CEO role ("succession losers") and their subsequent careers. It found that 74% of passed over executives left their companies, with 30% eventually becoming CEOs elsewhere. However, companies led by succession losers saw average stock price declines of 13% over 3 years, compared to gains for companies whose CEO selections remained unchanged. The findings suggest that boards generally identify the most qualified CEO candidates, though differences between internal and external hires complicate comparisons.
5. 4-Interpolação de strings
• Chega de + + + +
name = 'John Doe' var name = 'John Doe';
console.log "Hi, my name is #{name}" console.log("Hi, my name is " + "name")
Saturday, January 19, 13
6. 5-List Comprehensions
names = ['Foo', 'Bar', 'Baz'] var names = ['Foo', 'Bar', 'Baz'];
console.log(name) for name in names
for(var i=0; i < names.length; i++){
console.log(names[i]);
}
Saturday, January 19, 13
7. 6-Modificadores Condicionais
allowEntrance() unless age < 21 if(age > 21) {
allowEntrance() if age >= 21 allowEntrance()
}
if(age >= 21) {
allowEntrance()
}
Saturday, January 19, 13
8. 7-Classes
class Coffee
constructor: (@name) ->
brew: ->
console.log 'Brewing'
description: ->
console.log "Coffee is #{@name}"
frenchCoffee = new Coffee('French')
frenchCoffee.description # Coffee is French
Saturday, January 19, 13
9. 8-Uma visão do futuro
• Suporte de Brendan Eich;
• @ e => no JS;
Saturday, January 19, 13
10. 9-Aceitação da comunidade
• Rails >= 3.1;
• Python & PHP;
• Unit Testing frameworks;
Saturday, January 19, 13
11. 10-Ótimas fontes de aprendizado
• http://coffeescript.org
• http://coffeescriptcookbook.com
• http://www.codeschool.com/courses/
coffeescript
Saturday, January 19, 13