Skip to content

Instantly share code, notes, and snippets.

View bouyagas's full-sized avatar
🏠
Working from home

Mohamed Bouyagui Gassama bouyagas

🏠
Working from home
View GitHub Profile
@bouyagas
bouyagas / rails-postgres-backbone-bootstrap-bootswatch
Created August 27, 2016 16:41 — forked from sionc/rails-postgres-backbone-bootstrap-bootswatch
Instructions on creating a new app using Ruby on Rails, Postgresql, Backbone.js, Twitter Boostrap, Bootstwatch
- Check rails version
$ rails -v
- To update rails
$ gem update rails
- Creating a new rails app using postgresql
$ mkdir rails_projects
$ cd rails_projects
$ rails new myapp --database=postgresql
@bouyagas
bouyagas / Drawer.jsx
Created January 11, 2017 07:04 — forked from alaingoldman/Drawer.jsx
Class Notes compendium
import DrawerLayout from 'react-native-drawer-layout';
export default class Inside extends Component {
openSideBar(){
this.refs['DRAWER'].openDrawer();
}
render() {
var navigationView =

Introduction to Higher-Order Functions

Lessons

Slides 1

Slides 2

Two Forms of Functions

Nesting Exercises

Basic Requirements

Review :

  • Retrieve the value "comeGetMe!" in each of the following data structures. Store them in variable(s)/data structure(s) of your choice.
var arrayA = ["hello", "world", "hack", "reactor", "comeGetMe!", "is", "awesome"];
var arrayB = [true, false, 100, 200, "comeGetMe!", "Batman", "Robin",];
@bouyagas
bouyagas / git.md
Created September 2, 2017 23:28 — forked from magicznyleszek/git.md
Git Cheatsheet
@bouyagas
bouyagas / gist:0e35374b957312a974465033d793af46
Created September 14, 2017 04:10
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@bouyagas
bouyagas / cli_keyboard_shortcuts.md
Created September 16, 2017 05:58 — forked from alexpchin/cli_keyboard_shortcuts.md
CLI Keyboard Shortcuts
Keypress Action
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
@bouyagas
bouyagas / package.json
Created October 16, 2017 16:43 — forked from coryhouse/package.json
package.json for Building a JS Development Environment on Pluralsight
{
"name": "javascript-development-environment",
"version": "1.0.0",
"description": "JavaScript development environment Pluralsight course by Cory House",
"scripts": {
},
"author": "Cory House",
"license": "MIT",
"dependencies": {
"whatwg-fetch": "1.0.0"
@bouyagas
bouyagas / .eslintrc.json
Created October 17, 2017 05:24 — forked from coryhouse/.eslintrc.json
.eslintrc.json file for "Building a JavaScript Development" Pluralsight course
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"