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
(ins)(dlsuite) [hendry@t14s docdl]$ python schedule-dl.py | |
b'PK\x03\x04\x14\x00\x08\x08\x08\x00'... | |
Traceback (most recent call last): | |
File "/home/hendry/tmp/docdl/schedule-dl.py", line 34, in <module> | |
df = pd.read_excel(r'test.xlsx') | |
File "/home/hendry/.local/lib/python3.9/site-packages/pandas/util/_decorators.py", line 299, in wrapper | |
return func(*args, **kwargs) | |
File "/home/hendry/.local/lib/python3.9/site-packages/pandas/io/excel/_base.py", line 344, in read_excel | |
data = io.parse( | |
File "/home/hendry/.local/lib/python3.9/site-packages/pandas/io/excel/_base.py", line 1148, in parse |
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
(ins)[hendry@t14s count]$ git branch --set-upstream-to origin/azure-functions | |
error: the requested upstream branch 'origin/azure-functions' does not exist | |
hint: | |
hint: If you are planning on basing your work on an upstream | |
hint: branch that already exists at the remote, you may need to | |
hint: run "git fetch" to retrieve it. | |
hint: | |
hint: If you are planning to push out a new local branch that | |
hint: will track its remote counterpart, you may want to use | |
hint: "git push -u" to set the upstream config as you push. |
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
[hendry@t14s ~]$ cd /tmp | |
[hendry@t14s tmp]$ zip -J ~/Downloads/cp044608.exe | |
[hendry@t14s tmp]$ man zip | |
[hendry@t14s tmp]$ mkdir ilo | |
[hendry@t14s tmp]$ cd ilo/ | |
[hendry@t14s ilo]$ unzip ~/Downloads/cp044608.exe | |
Archive: /home/hendry/Downloads/cp044608.exe | |
inflating: SignedImageInstaller.dll | |
inflating: SignedImageInstaller64.dll | |
inflating: cp044608.xml |
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
lCharlie-5th-birthday.fcpbundle$ ls -lah | |
total 232 | |
drwx------ 6 kaihendry staff 408B 5 Nov 22:53 . | |
drwxrwxr-x 3 kaihendry staff 102B 5 Nov 22:54 .. | |
lrwxr-xr-x 1 kaihendry staff 1B 5 Nov 22:53 .fcpcache -> . | |
-rw-rw-rw- 1 kaihendry staff 0B 5 Nov 22:53 .lock | |
drwx------ 2 kaihendry staff 68B 5 Nov 22:53 .lock-dir | |
-rwxr--r-- 1 kaihendry staff 358B 5 Nov 22:53 .lock-info | |
drwx------ 6 kaihendry staff 238B 5 Nov 22:53 17-10-20 | |
-rw-r--r-- 1 kaihendry staff 100K 5 Nov 22:53 CurrentVersion.flexolibrary |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 main | |
import ( | |
"encoding/csv" | |
"log" | |
"os" | |
) | |
func main() { | |
txtfile, err := os.Open("data.txt") |
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 | |
cat << EOF | | |
[{ | |
"name": "A water bottle", | |
"sku": "wrt1" | |
},{ | |
"name": "Water bottles", | |
"sku": "wrt6" | |
} | |
] |
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
[hendry@t14s aws-sam-gateway-example]$ go build -o go-serverless-api ./cmd/go-serverless-api | |
# github.com/kaihendry/aws-sam-gateway-example/cmd/go-serverless-api | |
cmd/go-serverless-api/main.go:17:53: undefined: HealthHandler | |
[hendry@t14s aws-sam-gateway-example]$ grep HealthHandler *.go | |
// HealthHandler is an endpoint for healthchecks | |
func HealthHandler(w http.ResponseWriter, r *http.Request) { | |
[hendry@t14s aws-sam-gateway-example]$ grep package *.go | |
package goserverlessapi | |
[hendry@t14s aws-sam-gateway-example]$ grep package ./cmd/go-serverless-api/*.go | |
package goserverlessapi |
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
<div id="root"></div> | |
<script src="https://unpkg.com/react@16/umd/react.production.min.js" crossorigin></script> | |
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js" crossorigin></script> | |
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
<script type="jsx" src="main.js"></script> |
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 | |
cache=~/.cache/sloc2 | |
count() { | |
echo Arg "$@" >&2 | |
if ! test -d "$1" | |
then | |
echo $1 not a dir >&2 |