Skip to content

Instantly share code, notes, and snippets.

View cesarvargas00's full-sized avatar
🌟
Focusing

César Vargas cesarvargas00

🌟
Focusing
View GitHub Profile
@cesarvargas00
cesarvargas00 / gist:4080032
Created November 15, 2012 17:43
Package Control - SFTP
Package Control Messages
========================
SFTP:
----
Thanks for installing Sublime SFTP! Below are some quick notes to get you
started with the plugin. Please see http://wbond.net/sublime_packages/sftp for
the full documentation.
@cesarvargas00
cesarvargas00 / index.html
Created December 25, 2012 01:25
index.html template
{% load markup %}
<html>
<head>
<meta>
<title>{% block title %}nugarum cesaris{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}css/main.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
</head>
<body>
<div id="container">
@cesarvargas00
cesarvargas00 / gist:6491116
Created September 9, 2013 03:17
Algumas funções
#!/usr/bin/env zsh
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
autoload -U colors && colors
# Load and execute the prompt theming system.
fpath=("$pm/dotfiles/terminal" $fpath)
@cesarvargas00
cesarvargas00 / donut.c
Created September 9, 2013 19:51
homer simpson k0ding
k;double sin()
,cos();main(){float A=
0,B=0,i,j,z[1760];char b[
1760];printf("\x1b[2J");for(;;
){memset(b,32,1760);memset(z,0,7040)
;for(j=0;6.28>j;j+=0.07)for(i=0;6.28
>i;i+=0.02){float c=sin(i),d=cos(j),e=
sin(A),f=sin(j),g=cos(A),h=d+2,D=1/(c*
h*e+f*g+5),l=cos (i),m=cos(B),n=s\
in(B),t=c*h*g-f* e;int x=40+30*D*
@cesarvargas00
cesarvargas00 / alx.c
Last active December 22, 2015 17:09
programa obscuro binary 2 text
#include <stdio.h> #include <stdlib.h>
#define pqp int main
#define kupatchua return 0
#define o mander[i]
#define upaPol(o) printf("%c",o);
#define nAm for (i=0;i<x;i++)
pqp(int x,char **y){int i;char mander[x];
nAm{o=strtoull(y[i],NULL,2);}
nAm{upaPol(o)}upaPol('\n');kupatchua;}
@cesarvargas00
cesarvargas00 / linkedList.c
Last active December 22, 2015 18:49
Linked list without head.
#include <stdio.h>
#include <stdlib.h>
struct cel
{
int value;
struct cel *next;
};
typedef struct cel cell;
void add(cell **list, int valor);
@cesarvargas00
cesarvargas00 / csVim.txt
Created December 17, 2013 00:00
vim cheat sheet
Cursor movement
h - move left
j - move down
k - move up
l - move right
w - jump by start of words (punctuation considered words)
W - jump by words (spaces separate words)
e - jump to end of words (punctuation considered words)
E - jump to end of words (no punctuation)
@cesarvargas00
cesarvargas00 / gist:0d9ed0627b6a10fc415b
Created April 16, 2015 15:45
Good aliases to use!
# Easier navigation: .., ..., ...., ....., ~ and -
#alias ..="cd .."
#alias ...="cd ../.."
#alias ....="cd ../../.."
#alias .....="cd ../../../.."
#alias ~="cd ~" # `cd` is probably faster to type though
#alias -- -="cd -"
# Shortcuts
alias dropbox="cd ~/Dropbox"
var request = require('request');
var fs = require('fs');
var array = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
var pegaOsAdjetivoCaraio = function(i, aToZ) {
if (i < aToZ.length) {
request('http://dicionarioadjetivo.blogspot.com/search/label/' + aToZ[i], function(error, response, body) {
if (!error && response.statusCode == 200) {
var x = body.match(/(title=".*">.+<\/a)/g);
.oO Phrack 49 Oo.
Volume Seven, Issue Forty-Nine
File 14 of 16
BugTraq, r00t, and Underground.Org
bring you
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX