Skip to content

Instantly share code, notes, and snippets.

View josuebasurto's full-sized avatar
😀
Happy

Josh B josuebasurto

😀
Happy
View GitHub Profile
@josuebasurto
josuebasurto / index.html
Created August 22, 2012 00:01 — forked from anonymous/index.html
Numbered Heading in HTML and CSS
<html>
<head></head>
<body>
<h1>My Article</h1>
<h2>Introduction</h2>
<h3>Rationale</h3>
<h2>Background</h2>
<h1>My Article</h1>
<h2>Introduction</h2>
<h2>Introduction</h2>
@josuebasurto
josuebasurto / ValentinesDay.js
Last active December 13, 2015 19:29 — forked from urish/gist:4958044
Thanks to Uri Shaked (https://gist.github.com/urish) Valentine's Day Message on Google - Open the attached file, copy all the text from it (or get it here) - Go to http://www.google.com/ in Google Chrome, press Ctrl+Shift+J (or on Mac ⌥⌘J). - Paste the text you copied in step 1 into the console Window
/* Copyright (C) 2013, Uri Shaked, GDG Tel-Aviv Lead. */
/*
- Open the attached file, copy all the text from it (or get it here)
- Go to http://www.google.com/ in Google Chrome, press Ctrl+Shift+J (or on Mac ⌥⌘J).
- Paste the text you copied in step 1 into the console Window
*/
var jq = document.createElement("script");
jq.setAttribute("src", "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js");
: List Android Devices
adb devices
: Get into Shell
adb shell
: In Shell: List Packages installed
pm list packages -f
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="../inc/css/holiday.css" rel="stylesheet" type="text/css" />
<title>Holiday Inn&reg; eHost&trade; | Terms &amp; Conditions</title>
<!-- BEGIN EHOST REDIRECT SNIPPET -->
@josuebasurto
josuebasurto / Sublime.json
Last active February 15, 2017 20:47 — forked from anonymous/Sublime.json
Sublime Text configuration
{
"always_prompt_for_file_reload": true,
"always_show_minimap_viewport": true,
"animation_enabled": true,
"atomic_save": false,
"auto_close_tags": true,
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_complete_cycle": false,
"auto_complete_delay": 50,
@josuebasurto
josuebasurto / MySQL_events_cheatsheet.sql
Created March 1, 2017 08:14 — forked from anonymous/MySQL_events_cheatsheet.sql
The MySQL Event Scheduler manages the scheduling and execution of events, that is, tasks that run according to a schedule.
/*
Original Idea: @josuebasurto
Reference: https://dev.mysql.com/doc/refman/5.7/en/event-scheduler.html
*/
-- Use certain database
use mydatabase;
-- Show all events from a database
show events from mydatabase;