Skip to content

Instantly share code, notes, and snippets.

View sic2's full-sized avatar

Simone Conte sic2

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sic2
sic2 / checker.sh
Created April 8, 2018 11:01
Script to check commonly misused word, typos, or stuff that you want to keep under control in your files
# Requires the silver searcher - https://github.com/ggreer/the_silver_searcher
# Leave empty line at the end
while IFS= read -r line; do
echo '-------------------------'
echo "Checking for word(s): $line"
ag -i "$line" chapters/
done < valid_words.txt

Keybase proof

I hereby claim:

  • I am sic2 on github.
  • I am sic2 (https://keybase.io/sic2) on keybase.
  • I have a public key ASCm3O7P48eEEN6UiTcjbl69wcaepCdrRTJkAaP-LpllDAo

To claim this, I am signing this object:

<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@sic2
sic2 / GIF-Screencast-OSX.md
Created August 19, 2016 16:50 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@sic2
sic2 / README.md
Created August 10, 2016 16:25
Basic crawler for Facebook posts and events

This crawler gets all posts of a given Facebook group plus all events from a set of given Facebook pages.

Things todo:

  • crawl multiple Facebook groups

This a test

  • other version
@sic2
sic2 / gist:5892254
Created June 29, 2013 19:01
Sprite
class Guerriero {
// Caratteristiche fisiche: altezza, velocità, potenza, etc
// Metodi: salta, corri, uccidi, etc
// Altro
}
abstract class Sprite {
// Metodi in comune con tutti gli sprite.
// Solitamente il metodo 'drawing' viene dichiarato qui
// ma poi ogni sprite implementerà il metodo in modo diverso.