class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int dice = 7; for(int i = 1; i <= N; i++) { int x = sc.nextInt();
scriptkkiddie’s gists
package main import ( "bufio" "log" "os" ) func main() {
def test(message) { node { echo "INFO: ${message}" } }
import pandas as pd df = pd.read_excel(xlFilePath)
where xlFilePath is where file located either in absolute or relative path.
function randomArray(sizeOf) { arr = []; for (let i = 0; i < sizeOf; i++) { arr.push(Math.floor(Math.random() * 100)); }
let ceoOfMNCs = ["Elon Musk", "Tim Cook", "Sundar Pichai", "Satya Nadella"]; for (let ceo of ceoOfMNCs){ console.log(ceo); }
Networking - Podman
Enabling REST API Service
Socket
sudo podman system service --time=0 \ unix:///run/podman/podman.sock
entrepreneurs = ["Elon Musk", "Jeff Bezos", "Jack Ma"]
entrepreneurs = ["Elon Musk", "Jeff Bezos", "Jack Ma"];
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
| import requests | |
| import sys | |
| import json | |
| def waybackurls(host, with_subs): | |
| if with_subs: | |
| url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
| else: | |
| url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
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" ?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> | |
| <head> | |
| <script type="text/javascript" src="http://s.hatena.com/js/HatenaStar.js"></script> | |
| <script type="text/javascript"> | |
| Hatena.Star.Token = 'da1b86e8a86a29f912223bd7934849db79663de4'; | |
| </script> | |
| <meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/> |