The Secret Life of Programs: Understand Computers -- Craft Better Code [Steinhart, Jonathan E.]
Computer Systems: A Programmer's Perspective, 3 Edition [Randal E. Bryant, David R. O'Hallaron]
Code: The Hidden Language of Computer Hardware and Software [Petzold, Charles]
How Computers Really Work: A Hands-On Guide to the Inner Workings of the Machine [Justice, Matthew]
How the Internet Really Works: An Illustrated Guide to Protocols, Privacy, Censorship, and Governance [Article 19, Knodel, Mallory, Uhlig, Ulrike, ten Oever, Niels, Cath, Corinne]
How Software Works: The Magic Behind Encryption, CGI, Search Engines, and Other Everyday Technologies [Spraul, V. Anton]
The Secret Life of Programs: Understand Computers -- Craft Better Code [Steinhart, Jonathan E.]
How Cybersecurity Really Works: A Hands-On Guide for Total Beginners [Grubb, Sam]
Discover gists
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.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
#!/bin/bash | |
# README: A more updated version is on the comments by (ashmna)[https://gist.github.com/ashmna] | |
# See at: https://gist.github.com/allangarcia/938b052a7d55d1652052e4259364260b?permalink_comment_id=4265898#gistcomment-4265898 | |
# this is for tools required | |
brew update | |
brew install ninja | |
brew install cmake |
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
# | |
# ArgoCD Config - Clusters | |
# | |
resource "kubernetes_manifest" "clusters" { | |
for_each = { | |
for k, v in var.argo_managed_clusters : k => v if var.env_code == "mgmt" | |
} | |
manifest = { | |
"apiVersion" = "v1" |
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"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-2270195762-3335344054-2709297393-1000</user> | |
<keys> | |
<key installerType="Msi" displayName="gh-api-cli" displayVersion="4.0.2"> | |
<RegistryView>Registry64</RegistryView> | |
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{12B2F28F-DCF9-4518-BAB5-7CA5BD91357A}</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[]]></InstallLocation> | |
<UninstallString><![CDATA[MsiExec.exe /I{12B2F28F-DCF9-4518-BAB5-7CA5BD91357A}]]></UninstallString> |
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
gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) | |
sobel = cv2.Sobel(gray_image, ddepth=cv2.CV_64F, dx=1, dy=1, ksize=3) | |
sobel_gray = cv2.Sobel(image, ddepth=cv2.CV_64F, dx=1, dy=1, ksize=3) |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.20; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
interface IGitcoinPassport { | |
function getScore(address account) external view returns (uint256); | |
} | |
contract Factory is Ownable { |
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
{"abi":[{"type":"constructor","inputs":[{"name":"_name","type":"string","internalType":"string"},{"name":"_description","type":"string","internalType":"string"},{"name":"_ipfsHash","type":"string","internalType":"string"},{"name":"_tokensPerUser","type":"uint256","internalType":"uint256"},{"name":"_tokensPerVerifiedUser","type":"uint256","internalType":"uint256"},{"name":"_minScoreToJoin","type":"uint256","internalType":"uint256"},{"name":"_minScoreToVerify","type":"uint256","internalType":"uint256"},{"name":"_endTime","type":"uint256","internalType":"uint256"},{"name":"_passportScorer","type":"address","internalType":"address"},{"name":"_admin","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"castVote","inputs":[{"name":"pollId","type":"uint256","internalType":"uint256"},{"name":"votingPower","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"config","inputs":[],"outputs":[{"name":"name","ty |
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"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-1554833228-56566251-3449598448-1000</user> | |
<keys> | |
<key installerType="Unknown" displayName="MyHarmony" displayVersion="1.0.1.257"> | |
<RegistryView>Registry64</RegistryView> | |
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\036a0e4fc6a247ec</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[]]></InstallLocation> | |
<UninstallString><![CDATA[rundll32.exe dfshim.dll,ShArpMaintain MyHarmony.application, Culture=neutral, PublicKeyToken=893f52c973591bc9, processorArchitecture=msil]]></UninstallString> |