Skip to content

Instantly share code, notes, and snippets.

View dnh33's full-sized avatar
👁️
building

dnh33

👁️
building
  • 15:26 (UTC +02:00)
View GitHub Profile
@dnh33
dnh33 / gist:bc455bd7840cfba74b62be81cf0dfbac
Last active February 22, 2024 14:14
versions of WP found thus far as relevant for analysis
early draft on wayback:
https://web.archive.org/web/20190822012241/https://poseidon01.ssrn.com/delivery.php?ID=320069123112084115082110093085000009049040064078088068077091108101087082065002125011054057055004118051018069087125025029003020015048049051033114027091118019093121004085077028000001095113093105065112124083066090004086089091078115005094126006068112072017&EXT=pdf
two hoaxes / fakes: this is related: https://stacker.news/items/88383
https://draftable.com/compare/aWysWBkgckpv
Luke hidden file:
https://bitcoinhackers.org/@jb55/105595146491662406
https://fullycrypto.com/bitcoin-whitepaper-draft-presented-in-hodlonaut-trial
https://fullycrypto.com/bitcoin-whitepaper
@dnh33
dnh33 / csharp.gitignore
Created July 25, 2022 15:07 — forked from takekazuomi/csharp.gitignore
.gitignore for C#
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
// starting cosmetics setup here
line = "--------------------"
line1 = "#####################################################################################"
print(line1)
print("__ _______ ______ _____ _____ _____ _____ _ __ ______ __")
print("\ \ / /_ _| ____|_ _| / ____| __ \ /\ / ____| |/ / | _ \ \ / /")
print(" \ \ /\ / / | | | |__ | | | | | |__) | / \ | | | ' / | |_) \ \_/ / ")
print(" \ \/ \/ / | | | __| | | | | | _ / / /\ \| | | < | _ < \ / ")
print(" \ /\ / _| |_| | _| |_ | |____| | \ \ / ____ \ |____| . \ | |_) | | | ")
@dnh33
dnh33 / fetch_request.md
Last active November 10, 2021 13:51
React Fetch Request with State
const [stuff, setStuff] = useState([]);
const request = "example/tasks.json", {
        method: "POST",
        body: JSON.stringify(taskData),
        headers: { "Content-Type": "application/json" },
      };
    
useEffect( ()=&gt; {
@dnh33
dnh33 / axios-catch-error.js
Created November 8, 2021 03:52 — forked from fgilio/axios-catch-error.js
Catch request errors with Axios
/*
* Handling Errors using async/await
* Has to be used inside an async function
*/
try {
const response = await axios.get('https://your.site/api/v1/bla/ble/bli');
// Success 🎉
console.log(response);
} catch (error) {
// Error 😨