Skip to content

Instantly share code, notes, and snippets.

View Potential Maintainers
Maintainers:
alyssais: linuxKernel.packages.linux_5_10.kernel, linuxKernel.kernels.linux_latest_libre, linuxKernel.packages.linux_latest_libre.kernel, linuxKernel.packages.linux_5_10.kernel, linuxKernel.packages.linux_5_4.kernel, linuxKernel.kernels.linux_4_9, linuxKernel.packages.linux_4_19.kernel, linuxKernel.packages.linux_4_14.kernel, linuxPackages_latest-libre.kernel, linuxKernel.kernels.linux_4_14, linuxPackages_latest.kernel, linuxKernel.kernels.linux_5_4, linuxKernel.kernels.linux_4_14, linuxKernel.packages.linux_5_10.kernel, linuxPackages_latest.kernel, linux_latest, linux_latest, linuxKernel.packages.linux_5_15.kernel, linuxKernel.packages.linux_4_19.kernel, linux_latest, linuxKernel.kernels.linux_libre, linuxKernel.packages.linux_latest_libre.kernel, linuxKernel.packages.linux_libre.kernel, linux-libre, linuxKernel.kernels.linux_testing, linuxKernel.kernels.linux_5_18, linuxKernel.kernels.linux_5_18, linux, linuxKernel.packages.linux_5_18.kernel, linuxKernel.packages.linux_4_9.kernel, linuxKernel.k
View Changed Paths
x86_64-linux linuxPackages.rtl8821cu
i686-linux linuxPackages_latest-libre.system76-io
x86_64-linux linuxKernel.packages.linux_latest_libre.tp_smapi
x86_64-linux linuxKernel.packages.linux_testing_bcachefs.kvdo
x86_64-linux linuxKernel.packages.linux_testing_bcachefs.digimend
x86_64-linux linuxKernel.packages.linux_5_4.it87
i686-linux linuxPackages-libre.rtl8821ce
x86_64-linux linuxKernel.packages.linux_4_14.v4l2loopback
aarch64-linux linuxPackages_latest.mba6x_bl
i686-linux linuxKernel.packages.linux_latest_libre.akvcam
@nasingfaund
nasingfaund / python_console.py
Last active Jul 4, 2022 — forked from olisolomons/python_console.py
Python interpreter console tkinter widget
View python_console.py
import tkinter as tk
from tkinter.scrolledtext import ScrolledText
import io, hashlib, queue, sys, time, threading, traceback
import code
class Pipe:
"""mock stdin stdout or stderr"""
View gist:bad62854fe47031858fdbe9597de5f33
# https://unix.stackexchange.com/questions/334382/find-out-what-scripts-are-being-run-by-bash-at-login
# prepends the given path(s) to the supplied PATH variable
# ex. add_to_path 'PATH' "$(go env GOPATH)/bin"
function add_to_path() {
# (P)1 path is expanded from $1
# ##: Removes leading :
local -x pth="${(P)1##:}"
# (s.:.) splits the given variable at :
View _.js
let billion = 1_000_000_000;
console.log(billion) // 1000000000
View gist:c99514121622f58464d1bed51c265288
import Zoom from ‘react-reveal/zoom ‘ ;
function Example () {
return (
<div>
<Zoom right>
<p>Hello World</p>
</Zoom>
</div>
)
View rigHelper.js
const json5 = require('json5');
const fs = require('fs');
const getRigDeps = ()=>{
let rigConfig = json5.parse(fs.readFileSync('./package.rig.json5'));
return Object.keys(rigConfig.dependencies);
}
module.exports = {
getPkgs:getRigDeps,
getRigDeps
}
View FINAL.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View store.ts
import { createSignal, createResource } from "solid-js";
import { createMutable } from "solid-js/store";
export const list = createMutable({
items: JSON.parse(
window.localStorage.getItem("cart") ?? "[]"
),
get count() {
return this.items.length;
},
View coding-test.md

Coding Test

Before you start writing any code, discuss the implementation with the interviewers.

Objective: Assess how you work on a problem.

Advice: Take your time and work in a way consistent with your day to day job

Tasks