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
{ | |
inputs = { | |
nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling"; | |
systems.url = "github:nix-systems/default"; | |
devenv.url = "github:cachix/devenv"; | |
devenv.inputs.nixpkgs.follows = "nixpkgs"; | |
nixpkgs-python.url = "github:cachix/nixpkgs-python"; | |
nixpkgs-python.inputs = { nixpkgs.follows = "nixpkgs"; }; | |
}; |
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
Resolved https://github.com/vllm-project/vllm.git to commit c3af44722cff56bba5fc912c8e16d9de02dfb532 | |
Installing build dependencies ... done | |
Checking if build backend supports build_editable ... done | |
Getting requirements to build editable ... error | |
error: subprocess-exited-with-error | |
× Getting requirements to build editable did not run successfully. | |
│ exit code: 1 | |
╰─> [25 lines of output] | |
Traceback (most recent call last): |
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
{ pkgs, lib, ... }: | |
let | |
filteredPackages = ["pytest-httpserver" "werkzeug"]; | |
in { | |
packages = with pkgs; [ | |
git | |
zlib | |
stdenv.cc.cc.lib |
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
autowatch = 1 | |
inlets = 1 | |
var toggles = jsarguments[1] | |
outlets = toggles | |
var defaultMessage = typeof(jsarguments[2]) == "undefined" ? "hidden" : jsarguments[2] | |
var lastvalue | |
/** | |
This device takes an int, and sends either "hidden 1" or "hidden 0" | |
to a dynamic number of outlets. Each outlet can be connected to a UI element |
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
console.log(JSON.stringify([...document.querySelectorAll(".react-list-page__star-rating-total")].map(el => [parseInt(el.innerText.replace(/[^0-9]/g,'')), el.parentNode.parentNode.querySelector(".react-list-page__product-title").innerText]).sort( (a,b) => b[0]-a[0]), null, 4)) |
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
body { | |
font-family: helvetica, sans-serif; | |
} |
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 "node index.js /path/to/your/project.als" | |
const path = require('path') | |
const fs = require('fs') | |
const Ableton = require('ableton') //https://github.com/CocoFox/ableton | |
const [_,__,projectPath] = process.argv | |
const project = new Ableton(projectPath) | |
const main = async () => { |
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
let final = "" | |
for (let el in styles ) { | |
const tagName = el.charAt(0).toUpperCase() + el.slice(1) | |
const rules = styles[el] | |
const transformedRules = Object.keys(rules).map( ruleName => { | |
const cssRule = ruleName.replace( /([a-z])([A-Z])/g, '$1-$2' ).toLowerCase(); | |
const convertedStyle = ` ${cssRule}: ${rules[ruleName]};` | |
return convertedStyle | |
}).join("\n") | |
const finalComponent = `const ${tagName} = styled(View)\` |
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
echo 'set +e' > /tmp/script.sh && echo 'mkdir -p "$HOME/Dropbox/Voice Memos"' >> /tmp/script.sh && sqlite3 ~/Library/Application\ Support/com.apple.voicememos/Recordings/CloudRecordings.db "select 'cp -n \"' || zpath || '\" \"$HOME/Dropbox/Voice Memos/' || zcustomlabel || '.m4a\"; touch -t '||strftime('%Y%m%d%H%M', datetime(zdate + strftime('%s','2001-01-01'), 'unixepoch'))||' \"$HOME/Dropbox/Voice Memos/' || zcustomlabel || '.m4a\"' from zcloudrecording;" >> /tmp/script.sh; bash -v /tmp/script.sh |
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
// types.js | |
const REPORTER_PENDING_REPORT_UPDATE = "[reporter] pending report update" | |
// actions/reporter.js | |
const simpleActionCreatorProxy = new Proxy(module.exports, { | |
get (target, key) { | |
const actionName = camelToUnderscore(key).toUpperCase() | |
if (key in target) { | |
return target[key] |
NewerOlder