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 | |
# "summarize what sci-kit-learn is | |
# example URL https://www.phind.com/search?q=summarize%20what%20sci-kit-learn%20is&source=searchbox | |
CMD="xdg-open" | |
NEWTAB="" | |
PROMPT="" | |
if [ $# -eq 0 ]; then | |
echo "Supply args pls" | |
exit -1 |
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 | |
# Create a page in the current dir | |
echo "My Test Page" > test.html | |
# Start server | |
python -m SimpleHTTPServer 8000 &> /dev/null & | |
pid=$! | |
# Give server time to start up |
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 | |
# usage: jarlook [targetdir] | |
# ./jarlook ./lonewolf_ml_caremanagement/ | grep -i 'somefile' | |
for f in $1/*.jar | |
do | |
echo "Processing $f" | |
unzip -v $f | |
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
WAYLAND_PROTOCOLS=/usr/share/wayland-protocols | |
# wayland-scanner is a tool which generates C headers and rigging for Wayland | |
# protocols, which are specified in XML. wlroots requires you to rig these up | |
# to your build system yourself and provide them in the include path. | |
xdg-shell-protocol.h: | |
wayland-scanner server-header \ | |
$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@ | |
xdg-shell-protocol.c: xdg-shell-protocol.h |
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
/* gcc -o tmp `pkg-config --libs --cflags glib-2.0` tmp.c | |
* | |
* # modprobe ec_sys | |
* | |
* # watch -n 0.1 hexdump -C /sys/kernel/debug/ec/ec0/io | |
* | |
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 03 00 10 |..........G.....| | |
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 43 00 10 |..........G..C..| | |
* 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 83 00 10 |..........G.....| |
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
System.out.println("Press any key to continue..."); | |
try | |
{ | |
System.in.read(); | |
} | |
catch(Exception e) | |
{} |
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
public void writeList() { | |
PrintWriter out = null; | |
try { | |
System.out.println("Entering" + " try statement"); | |
out = new PrintWriter(new FileWriter("OutFile.txt")); | |
for (int i = 0; i < SIZE; i++) { | |
out.println("Value at: " + i + " = " + list.get(i)); | |
} |
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
I hope you are having a wonderful day! I wanted to personally reach out to you since we had some contact at Tech Fest a few weeks ago. I would love the opportunity to network with you if possible. J | |
Is there a good time we could spend a few minutes on the phone? Please let me know! | |
Thanks Joseph! |
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
-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 30px 0px; |
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
map <up> <C-W>+ | |
map <down> <C-W>- | |
map <left> <C-W>< | |
map <right> <C-W>> |