Skip to content

Instantly share code, notes, and snippets.

View pedrofracassi's full-sized avatar
✌️
hello

Pedro Fracassi pedrofracassi

✌️
hello
View GitHub Profile
@jaxxibae
jaxxibae / gource.sh
Last active March 28, 2020 18:58
Gource + FFmpeg configuration
#!/bin/bash
TITLE="Switchblade development (13/05/2018 - 13/07/2019)"
OUTPUT="1920x1080"
FRAMES_PER_SECOND="60"
ICON_LOCATION="./icon.png"
BACKGROUND_COLOR="000000"
SECONDS_PER_DAY="7"
FONT_SIZE="22"
printf "Opening Gource and recording visualization...\n\n"
@liddack
liddack / app.js
Last active November 1, 2020 10:31
Crowdin Source Update String Notifier for Discord Project
// Loading logger module
const log = require('fancy-log')
log.info('Loading...')
// Loading the rest of the modules
const Webhook = require("./webhook"),
express = require('express'),
TurndownService = require('turndown'),
turndownService = new TurndownService(),
events = require('events'),
@bartholomej
bartholomej / css-media-queries-cheat-sheet.css
Last active May 2, 2024 08:30
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@webjay
webjay / gh_hook.php
Last active January 7, 2023 11:54
Php hook script that can git pull, apc_clear_cache() etc
<?php
ignore_user_abort(true);
function syscall ($cmd, $cwd) {
$descriptorspec = array(
1 => array('pipe', 'w'), // stdout is a pipe that the child will write to
2 => array('pipe', 'w') // stderr