This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type doubleLinkedList struct { | |
head *linkedNode | |
tail *linkedNode | |
size int | |
} | |
type linkedNode struct { | |
val int | |
next *linkedNode | |
prev *linkedNode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Rômulo Farias | |
# Year: 2017 | |
# Name: List Grep | |
# Description: show all occurrences of your search in a path | |
# Usage: lg [optional dir] searchString | |
# Installation: copy this file to /bin and give it execution permission | |
if [ $# -eq 0 ]; then | |
echo "This script must take at least 1 param" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"module": "AMD", | |
"noImplicitAny": false, | |
"removeComments": true, | |
"preserveConstEnums": true, | |
"sourceMap": true, | |
"outFile": "./dist/scripts/checkers.js" | |
}, | |
"exclude": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class StringIncrementable | |
{ | |
public static string Increment(string strFrom) | |
{ | |
char[] letters = new char[strFrom.Length + 1]; | |
int i; | |
for (i = 0; i < strFrom.Length; i++) | |
letters[i] = strFrom[i]; |