Skip to content

Instantly share code, notes, and snippets.

View AlFalahTaieb's full-sized avatar
🎯
Focusing

Taieb AlFalahTaieb

🎯
Focusing
View GitHub Profile
@mplewis
mplewis / threePipeDemo.c
Created March 31, 2013 01:31
Here's an example of how to pipe three commands together using C. This one uses `ps aux | grep root | grep sbin`. This topic is horribly documented online so hopefully this'll help someone else out.
// This program is an example of how to run a command such as
// ps aux | grep root | grep sbin
// using C and Unix.
#include <stdlib.h>
#include <unistd.h>
int pid;
int pipe1[2];
int pipe2[2];
@rxaviers
rxaviers / gist:7360908
Last active October 14, 2024 10:03
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@msurguy
msurguy / List.md
Last active September 12, 2024 00:39
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active June 30, 2024 04:14
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@eladnava
eladnava / mongodb-s3-backup.sh
Last active September 13, 2024 11:42
Automatically backup a MongoDB database to S3 using mongodump, tar, and awscli (Ubuntu 14.04 LTS)
#!/bin/sh
# Make sure to:
# 1) Name this file `backup.sh` and place it in /home/ubuntu
# 2) Run sudo apt-get install awscli to install the AWSCLI
# 3) Run aws configure (enter s3-authorized IAM user and specify region)
# 4) Fill in DB host + name
# 5) Create S3 bucket for the backups and fill it in below (set a lifecycle rule to expire files older than X days in the bucket)
# 6) Run chmod +x backup.sh
# 7) Test it out via ./backup.sh
@donniebishop
donniebishop / pokestat.py
Last active December 27, 2019 10:51
i3-blocklet for checking Pokemon Go status
#!/usr/bin/env python3
from bs4 import BeautifulSoup
import requests
POKEURL = 'http://cmmcd.com/PokemonGo/'
r = requests.get(POKEURL)
try:
import lxml
@rjhintz
rjhintz / aws_sa_pro_exam.md
Last active October 19, 2021 16:52
Passing AWS Certified Solutions Architect - Professional Exam

Opinionated advice on passing the AWS Certified Solutions Architect - Professional Exam

Current as of: August, 2016

Passing SA Pro:

  • get ACloudGuru 5 certification bundle. (Disclaimer: I have no financial interest in ACloudGuru.)
  • work through Associate courses. Take and pass all Associate exams.
  • work through SA Pro course
  • take the SA Pro Sample exam. Note that answers are provided for version from the Japan site. Download the PDF. The answers are at the end of each question.
  • take SA Pro Practice exam. If you get 75% or higher, just take the SA Pro exam.

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

React Concepts

What is It?

  • Javascript lib used to create HTML that is shown to user in a browser
  • Use it to create components --> snippets of code that produce HTML
  • can nest components to make complex applications simply

Props

@swalkinshaw
swalkinshaw / tutorial.md
Last active November 13, 2023 08:40
Designing a GraphQL API