Skip to content

Instantly share code, notes, and snippets.

View tacksoo's full-sized avatar

Tacksoo Im tacksoo

  • Georgia Gwinnett College
  • Lawrenceville, GA
View GitHub Profile
@tacksoo
tacksoo / 0-self-publishing.md
Created February 4, 2021 16:45 — forked from caseywatts/0-self-publishing.md
Self-Publishing via Markdown
@tacksoo
tacksoo / emacs.markdown
Created November 19, 2019 21:30 — forked from rochacbruno/emacs.markdown
Emacs and Screen commom keys

emacs

basic

C-g = abort command
C-x C-c = Exit
C-_ | C-x u = Undo
C-z = iconify / %emacs to get back
C-x C-z = suspend, back qith "fg"
M-x shell = bash
ESC-! = shell command

@tacksoo
tacksoo / readme.txt
Last active September 6, 2018 17:23
Sample Text file
ferrari california,2019,1000000,FALSE
toyota sienna,2019,50000,FALSE
@tacksoo
tacksoo / git_github.md
Last active August 29, 2015 14:06
WIT Kickoff event: 9/19/2014 Presentation on Git and GitHub

Git is referred to as a distributed version control and source code management (SCM) program. What this means is that it is a fancy way to store and share your programs with other people.

First, let's think what the problems are with regular backups? Suppose we are doing a group project. How would you share code among your teammates? You could email each other the code but it would get tedious very quickly. Also, what happens when you make some changes that turn out to be wrong and you have to go back to a previous working version? These issues can be resolved with a SCM program such as Git. Git is one of the more popular SCM's.

GitHub is a popular website that host projects using Git and it also provides other services such as project management (issues), web hosting, etc.

Okay, so where do we begin? Let's first create an account in GitHub.


@tacksoo
tacksoo / ArrayTooBig.java
Created March 28, 2014 15:17
Java examples of memory issues
public class ArrayTooBig
{
public static void main(String[] args)
{
String [] strs = new String[Integer.MAX_VALUE];
}
}
@tacksoo
tacksoo / 0_reuse_code.js
Created October 17, 2013 05:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@tacksoo
tacksoo / Core.java
Created April 9, 2013 13:47
Print out the number of cores
public class Core {
public static void main(String[] args) {
int coreNum = Runtime.getRuntime().availableProcessors();
System.out.println("Number of cores are: " + coreNum);
long maxMemory = Runtime.getRuntime().maxMemory();
System.out.println("MAX size of the heap (MB): " + maxMemory / 1048576);
long freeMemory = Runtime.getRuntime().freeMemory();
@tacksoo
tacksoo / gist:5002643
Last active December 14, 2015 00:59
Data to be used for analysis.
Mr Robert Aaron
Part-time Librarian
faculty-and-staff/robert-aaron
Ms Zaynab Abdul-Razacq
Library Assistant I
faculty-and-staff/zaynab-abdul-razacq
Dr Donna Abrams
Assistant Professor
@tacksoo
tacksoo / LinkedIntList.java
Created February 14, 2013 06:00
The Practice-IT implementation of a LinkedList
public class LinkedIntList {
private ListNode front;
public LinkedIntList() {
front = null;
}
public int size() {
int count = 0;
@tacksoo
tacksoo / LinkedListFail.java
Created February 12, 2013 14:50
Example of an ineffective use of the LinkedList
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
public class LinkedListFail {
/*
* This is slow
*/
public static ArrayList<Integer> removeEvensInArrayList(ArrayList<Integer> list) {