Skip to content

Instantly share code, notes, and snippets.

View espinz's full-sized avatar

Francisco Espinoza espinz

  • USA
View GitHub Profile
for i in `grep -H "jpg" *| grep "thumbnail:" | awk {'print $2'} | sed s#/images/##`; do mv ../images/$i ../images/backup;done
@espinz
espinz / terminalRecording.md
Created August 16, 2019 16:06
Terminal recording

recterm and ttygif

Download, and install, required files via git and homebrew

git clone https://github.com/rascoro1/recterm.git ~/recterm

Install via homebrew

@espinz
espinz / swiftApp.swift
Created May 24, 2019 07:24
swiftApp.swift
print("Hello World")
@espinz
espinz / pythonProgram.py
Created May 24, 2019 07:24
pythonProgram.py
#!/usr/bin/env python3
print("Hello World")
@espinz
espinz / jsApp.js
Created May 24, 2019 07:24
jsApp.js
console.log("Hello World");
@espinz
espinz / cProgram.c
Created May 24, 2019 07:24
cProgram.c
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
@espinz
espinz / cPlus.cpp
Created May 24, 2019 07:24
cPlus.cpp
#include <iostream>
using namespace std;
int main (){
cout << "Hello World";
}
@espinz
espinz / bashScript.sh
Created May 24, 2019 07:24
bashScript.sh
#!/usr/bin/env bash
echo "Hello World"
@espinz
espinz / dayCounter.cpp
Created May 18, 2019 20:10
A C++ loop to count days
int dayType::set_newahead()
{ //start get_newahead
day += ahead;
while (day > 7)
day = day - 7;
return day;
} //end get_newahead
@espinz
espinz / new_post.sh
Created May 9, 2019 23:59
Jekyll posting script
#!/bin/bash
length=8
printf -v line '%*s' "$length"
echo ""
printf "%s\n" "New Post"
echo ${line// /-}