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
*.svg | |
*.html |
Bash | Powershell | Source |
---|---|---|
touch filename |
echo $null >> filename |
Source |
- An app for making wedding place cards that does about $1000/mo
- A boilerplate for making SaaS apps with Python/Django that does $5k/month (highly variable)
- An app that adds analytics to GroupMe which is a WhatsApp alternative that does around $150/mo
- Computer Engineering for Babies launched on Kickstarter a few months ago and blew my mind by raising almost $250k
- An analytics based platform that uses data analysis techniques to generate trade ideas for retail investors generating about $120k/mo these days with over 3000 paid users
- A coffee farm in Colombia
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
package impl.graph; | |
class EdgeNode { | |
Integer y; /* adjacency info */ | |
Integer weight; /* edge weight, if any */ | |
EdgeNode next; /* next edge in list */ | |
public EdgeNode(Integer y) { | |
this.y = y; |
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
#!/usr/bin/env bash | |
# SOURCE: https://tex.stackexchange.com/questions/323820/i-cant-write-on-file-foo-aux/485273#485273 | |
# find all directories which are not the destination dir or inside it | |
find "$1" -maxdepth 1 -type d -not -name "$2" -not -path "$1/$2/*" -not -path "$1" -printf '%P\n' \ | |
| while IFS= read -r dir | |
do | |
cp -r "$1/$2/${2}_$3/$dir" "$1/$2" | |
done |
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
#!/usr/bin/env zsh | |
old="$1" | |
new="$2" | |
olddate=$(echo "$old" | sed -re "s/^.*?([0-9]{4}-[0-9]{2}-[0-9]{2})\.txt/\\1/g") | |
newdate=$(tail -1 "$new" | sed -re "s/^([0-9]*)\\/([0-9]*)\\/([0-9]*).*/20\\3-\\1-\\2/g" | sed -re "s/-([0-9])-/-0\\1-/g" | sed -re "s/-([0-9])$/-0\\1/g") | |
echo $old | |
echo $new | |
echo $olddate |
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
# 1 | |
qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;' | |
# 2 | |
read -rp "SSID: " ssid | |
read -rsp "Password: " pass | |
echo -e "\n" | |
qrencode -t utf8 "WIFI:T:WPA;S:$ssid;P:$pass;;" |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<profiles version="20"> | |
<profile kind="CodeFormatterProfile" name="Thiago" version="20"> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/> | |
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/> |
NewerOlder