Skip to content

Instantly share code, notes, and snippets.

View edisplay's full-sized avatar

edisplay edisplay

View GitHub Profile
@edisplay
edisplay / sublime-text-3-setup.md
Created February 9, 2016 02:10 — forked from ijy/sublime-text-3-setup.md
My Sublime Text 3 setup.

Sublime Text 3 Setup

Install Package Control

Install Package Control for easy package management.

  1. Open the console with Ctrl+`
  2. Paste in the following:
@edisplay
edisplay / .gitignore
Created June 14, 2016 04:34 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@edisplay
edisplay / gist:3b98edf71a82c6725455
Created January 2, 2016 15:02 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
class Main {
public static void main(String[] args) {
System.out.println("Francisco Cruz");
System.out.println("This morning I came from North Bergen, NJ");
System.out.println("I took a Bus to Porth Authority on 42nd Street, and then");
System.out.println("I took the Seven Train to 33rd Street.");
System.out.println("I learned to code my first program in Java");
System.out.println("I hope to learn to master Java everyday");
}
}
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
>>> Hello, Francisco!
Hello, Nobody to my left!
Hello, World!
Hello, World!
32767
50
49.5
class Main {
public static void main(String[] args) {
//Q1. java-docs
// Find the Java 7 standard library documentation online. What is the URL?
// https://docs.oracle.com/javase/7/docs/api/
//Q2. java-vs-javascript
// Explain in a few sentences what the difference is between Java and JavaScript.
// Week 1 Homework - Francisco Cruz 3309
import java.util.*;
class Main {
public static void main(String[] args) {
/*
Q1. add-function
Write a method named add that takes in two numbers as arguments. The function should return the sum of the two numbers.
@edisplay
edisplay / frontendDevlopmentBookmarks.md
Created June 29, 2017 13:18 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@edisplay
edisplay / rrwd_remove_page_template
Created November 20, 2017 18:30 — forked from rianrietveld/rrwd_remove_page_template
Remove page templates from dropdown page attributes in WordPress ( >= 3.9 )
<?php
add_filter( 'theme_page_templates', 'rrwd_remove_page_template' );
function rrwd_remove_page_template( $pages_templates ) {
unset( $pages_templates['page_blog.php'] );
unset( $pages_templates['page_archive.php'] );
return $pages_templates;
}
?>
@edisplay
edisplay / AuthTest.cs
Created December 18, 2017 16:32 — forked from JeremyMorgan/AuthTest.cs
Command line tool to test Active Directory authentication
using System;
using System.DirectoryServices;
class Auth
{
public static void Main(){
string path= "LDAP://DC=domain,DC=local";
string strAccountId = "[username]";
string strPassword = "[password]";