Skip to content

Instantly share code, notes, and snippets.

View matheuseduardo's full-sized avatar
:octocat:
coding

Matheus Eduardo Silva Guimarães matheuseduardo

:octocat:
coding
View GitHub Profile
@nickbudi
nickbudi / README.md
Last active October 13, 2023 04:54
Budi's Counter-Strike: Source config

Budi's CS:S Config

This is my constantly updated CS:S autoexec config.

Put the file autoexec.cfg in ...\Steam\steamapps\*steam username*\counter-strike source\cstrike\cfg or take what you want from it and add to your autoexec config!

Launch Options

-novid -noborder -high -threads 4 -freq 144 +exec autoexec.cfg
@ogrrd
ogrrd / Cake Composer.md
Last active May 9, 2020 03:30
Install Cake 2.x with Composer

Install CakePHP 2.x with Composer

Remove the main CakePHP lib directory

$ cd /path/to/your/website
$ rm -Rf ./lib

Add the following composer.json file

@shawndumas
shawndumas / .gitconfig
Created August 5, 2013 19:08
Using WinMerge as the git Diff/Merge Tool on Windows 64bit
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
tool = winmerge
[mergetool "winmerge"]
name = WinMerge
@simoncoulton
simoncoulton / gitkeep
Created January 8, 2014 05:42
Create empty gitkeep files in directories that are empty
find . -type d -empty -exec touch {}/.gitkeep \;
@justinmc
justinmc / gist:9149719
Last active October 15, 2018 18:05
Sample Gulpfile
var gulp = require('gulp');
var clean = require('gulp-clean');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var imagemin = require('gulp-imagemin');
var bases = {
app: 'app/',
@rtt
rtt / gist:5a2e0cfa638c938cca59
Created August 14, 2014 09:46
example python tinderbot
# encoding: utf8 1,1 Top# encoding: utf8
import argparse
from datetime import datetime
import json
from random import randint
import requests
import sys
from time import sleep
@protrolium
protrolium / ffmpeg.md
Last active June 15, 2024 01:28
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

/**
*
* Gulpfile setup
*
* @since 1.0.0
* @authors Ahmad Awais, @digisavvy, @desaiuditd, @jb510, @dmassiani and @Maxlopez
* @package neat
* @forks _s & some-like-it-neat
*/
@jkingsman
jkingsman / shrug.js
Last active August 26, 2019 14:56
Shrug Emoji Bookmarklet
javascript:(function(){document.activeElement.value=document.activeElement.value+'¯\\_(ツ)_/¯';})();
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Symfony2">
<!-- There should not be any code in the bundle Resources directory. -->
<exclude-pattern>*/Resources/*</exclude-pattern>
<rule ref="Generic.Classes.DuplicateClassName.Found"><severity>0</severity></rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowed"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowedWarning"><severity>4</severity></rule>
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop.CanSimplify"><severity>4</severity></rule>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.JumbledIncrementer.Found"><severity>2</severity></rule>