This file contains 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
function Print-RecentFiles { | |
Param ( | |
[Parameter()][string]$Path, | |
[Parameter()][switch]$NoRecurse, | |
[Parameter()][int]$Days = 1, | |
[Parameter()][int]$Hours = 0, | |
[Parameter()][int]$Minutes = 0, | |
[Parameter()][int]$Seconds = 0 | |
) |
This file contains 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
{ | |
"editor.renderControlCharacters": true, | |
"editor.renderWhitespace": "all", | |
"editor.fontFamily": "Ricty Diminished", | |
"editor.fontSize": 12, | |
"editor.lineHeight": 12, | |
"window.zoomLevel": 0 | |
} |
This file contains 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
FROM node:6-alpine | |
RUN npm install -g create-react-app \ | |
&& mkdir /project \ | |
&& cd /project \ | |
&& /usr/local/bin/create-react-app tmp-project \ | |
&& rm -rf ./tmp-project | |
WORKDIR /project | |
ENTRYPOINT ["/usr/local/bin/create-react-app"] |
This file contains 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
### prep a dir for git with github sane defaults | |
### usage: gitprep ulidj azam/ulidj | |
gitprep() { | |
if [ -z "$2" ] | |
then | |
echo "gitprep: illegal arguments" | |
echo "usage: gitprep [dirname] [reponame]" | |
return -1 | |
else | |
mkdir $1 |
This file contains 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
FROM anapsix/alpine-java:8 | |
RUN apk --no-cache add --update curl \ | |
&& mkdir /dynamodb \ | |
&& mkdir /dynamodb/bin \ | |
&& cd /dynamodb/bin \ | |
&& /usr/bin/curl -L http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest | /bin/tar xz \ | |
&& apk del curl | |
EXPOSE 8000 | |
WORKDIR /dynamodb/data | |
ENTRYPOINT ["java", "-Djava.library.path=/dynamodb/bin/DynamoDBLocal_lib", "-jar", "/dynamodb/bin/DynamoDBLocal.jar", "-port", "8000", "-dbPath", "/dynamodb/data"] |
This file contains 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="Google Sites Gist Module"> | |
<Require feature="dynamic-height"/> | |
</ModulePrefs> | |
<UserPref name="gistId" display_name="Gist #" required="true" /> | |
<UserPref name="baseUrl" display_name="Base URL" required="false" default_value="https://gist.github.com"/> | |
<Content type="html"> | |
<![CDATA[ | |
<div id="content_div"><script src="__UP_baseUrl__/__UP_gistId__.js"></script><script type="text/javascript">gadgets.util.registerOnLoadHandler(gadgets.window.adjustHeight);</script></div> |
This file contains 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
mvn install:install-file -Dfile=my-library.jar -DgroupId=io.azam -DartifactId=my-library -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true -DlocalRepositoryPath=./repo -Dsources=my-library-src.jar |
This file contains 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
### Java | |
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7) | |
### Maven | |
export MAVEN_HOME="$HOME/Applications/apache-maven-3.3.3" | |
export M3=$MAVEN_HOME | |
export M3_HOME=$M3 | |
export PATH=$PATH:$M3_HOME/bin | |
### Android |
This file contains 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
// Settings in here override those in "Default/Preferences.sublime-settings", | |
// and are overridden in turn by file type specific settings. | |
{ | |
"draw_white_space": "all", | |
"rulers": [80], | |
"font_face": "Ricty Diminished", // https://github.com/yascentur/RictyDiminished | |
"font_size": 11, | |
"font_options": ["directwrite"], | |
"line_padding_top": 0, | |
"line_padding_bottom": 0, |
This file contains 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
/** | |
* stack.js | |
* (c) 2015 Azamshul Azizy | |
* | |
* [description] | |
* @param {[type]} factory [description] | |
* @return {[type]} [description] | |
*/ | |
(function(stackjs) { | |
// if (typeof(define) === "function" && typeof(define.amd) !== "undefined") { |
NewerOlder