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
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
// ©jdehorty | |
// @version=5 | |
indicator('Machine Learning: Lorentzian Classification', 'Lorentzian Classification', true, precision=4, max_labels_count=500) | |
import jdehorty/MLExtensions/2 as ml | |
import jdehorty/KernelFunctions/2 as kernels | |
// ==================== |
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
(ns simba | |
(:require [clojure.java.jdbc :as j]) | |
(:import (com.simba.googlebigquery.jdbc42 Driver))) | |
(def conn {:classname "com.simba.googlebigquery.jdbc42.Driver" | |
:subprotocol "bigquery" | |
:subname "//https://www.googleapis.com/bigquery/v2:443;ProjectId=MY-PROJECT-ID;OAuthServiceAcctEmail=USERNAME@PROJECT.iam.gserviceaccount.com;OAuthPvtKeyPath=PATH-TO-P12-FILE"}) | |
(defn run-query [query] (j/query conn [query])) |
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
#![allow(unused)] // silence unused warnings while exploring (to comment out) | |
use std::{error::Error, str}; | |
use s3::bucket::Bucket; | |
use s3::creds::Credentials; | |
use s3::region::Region; | |
use s3::BucketConfiguration; | |
// Youtube Walkthrough - https://youtu.be/uQKBW8ZgYB8 |
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
;; usage: | |
;; | |
;; (-> (rsa-keypair 2048) | |
;; (generate-secret-key "alice@example.org" "hello") | |
;; (export-keypair "alice.pub" "alice.sec" true)) | |
(import | |
'[java.util Date] | |
'[java.security SecureRandom KeyPair KeyPairGenerator] | |
'[org.bouncycastle.jce.provider BouncyCastleProvider] |
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 | |
#HITRON=10.10.2.1 | |
HITRON=192.168.100.1 | |
USER=app | |
PASSWORD="com8&#wDs2*1er" | |
OPTIONS="-o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ServerAliveInterval=5 -o ServerAliveCountMax=1" | |
echo Password of $USER $PASSWORD | |
while [ 1 ] | |
do | |
echo connect... |
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
#!/usr/bin/env bb | |
(ns github-graphql-api-client | |
(:require | |
[babashka.curl :as curl] | |
[cheshire.core :as cheshire] | |
[clojure.pprint :refer [pprint]])) | |
(def auth-token (System/getenv "AUTH_TOKEN")) | |
(def graphql-query |
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
====== | |
Videos | |
====== | |
DevOps | |
What is DevOps? by Rackspace - Really great introduction to DevOps | |
https://www.youtube.com/watch?v=_I94-tJlovg | |
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept) |
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
#!comment: This is a list of the top 100,000 most frequently-used English words | |
#!comment: according to Wiktionary. | |
#!comment: | |
#!comment: It was compiled in August 2005 and coalesced into a handy list for | |
#!comment: use in John the Ripper. | |
#!comment: | |
#!comment: | |
#!comment: Pull date: Sun Jan 15 22:03:54 2012 GMT | |
#!comment: | |
#!comment: Sources: |
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
import React, { useState } from 'react'; | |
import { useModel } from 'umi'; | |
import { Avatar, Button, Col, Modal, Row, Statistic } from 'antd'; | |
import Loader from '../../utils/loader'; | |
import type Paginate from '@/interfaces/Paginate'; | |
import type { WalletError } from '@/components/WalletConnect/WalletErrors'; |
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 | |
# ------------------------------------------------------------------------------------------------- | |
# Author: Thomas Pintaric <thomas@pintaric.org> | |
# Version: 1.0.0 | |
# SPDX-License-Identifier: 0BSD | |
# ------------------------------------------------------------------------------------------------- | |
# USAGE: ./derive_cardano_wallet_keys.sh [flags] args | |
# flags: | |
# -r,--recovery_phrase: text file containing your wallet's recovery phrase (default: 'recovery-phrase.txt') | |
# -n,--[no]new_mnemonic: generate new 24-word mnemonic (default: false) |
NewerOlder