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
tell application "Admin By Request" to activate | |
tell application "System Events" to tell process "Admin By Request" | |
tell menu bar item 1 of menu bar 2 | |
try | |
click menu item "Request Administrator Access" of menu 1 | |
on error | |
return | |
end try |
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
{ | |
"app.hideMenubarIcon": true, | |
"autocomplete.fontFamily": "Dank Mono", | |
"autocomplete.fontSize": 14, | |
"autocomplete.theme": "poimandres", | |
"codeWhisperer.shareCodeWhispererContentWithAWS": false, | |
"inline.enabled": false, | |
"integrations.hyper.disabled": true, | |
"telemetry.enabled": false | |
} |
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
chmod 700 ~/.ssh && \ | |
chmod 600 ~/.ssh/* && \ | |
chmod 644 -f ~/.ssh/*.pub ~/.ssh/authorized_keys ~/.ssh/known_hosts ~/.ssh/config |
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
export default function simplifyTokens(obj, mapper = token => token.value) { | |
const result = {}; | |
for (const key in obj) { | |
if (!obj[key] || typeof obj[key] !== 'object') { | |
continue; | |
} | |
if ('value' in obj[key]) { | |
result[key] = mapper(obj[key]); |
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
adb shell pm list packages | grep 'samsung' | |
pm disable-user com.samsung.android.bixby.service | |
pm disable-user com.samsung.android.bixby.agent | |
pm disable-user com.samsung.android.bixby.wakeup | |
pm disable-user com.samsung.android.visionintelligence | |
pm disable-user com.samsung.android.app.routines | |
pm uninstall --user 0 com.samsung.android.mdx | |
pm uninstall -k --user 0 com.samsung.android.bixby.es.globalaction | |
pm uninstall --user 0 com.microsoft.appmanager |
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
PATH="/Users/$(whoami)/.asdf/shims:/usr/local/bin:$PATH" |
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 PropTypes from 'prop-types'; | |
import React from 'react'; | |
import * as colors from '@powel/design-colors'; | |
const uuid = () => { | |
let id = ''; | |
let random; | |
let i; | |
for (i = 0; i < 32; i++) { |
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
pyftsubset "Inter-roman.otf" --unicodes-file=unicodes.txt --layout-features="ss01,ss02,ss03,cpsp,kern,calt" --flavor="woff2" --output-file="inter-roman-subset.woff2" | |
pyftsubset "Inter-italic.otf" --unicodes-file=unicodes.txt --layout-features="ss01,ss02,ss03,cpsp,kern,calt" --flavor="woff2" --output-file="inter-italic-subset.woff2" |
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
(function(window, document, powelUI, ARRAY) { | |
'use strict'; | |
var reFileTrim = /^.+\/|\.[^\.]+$/g; // eslint-disable-line | |
var defaultViewBox = [0, 0, 560, 560]; | |
var defaultElement = document.createElement('x'); | |
var xmlns = 'http://www.w3.org/2000/svg'; | |
function process(file) { | |
return new Promise(function(resolve) { |
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
<?php | |
function process ($collection, $data) { | |
$collectionsToWatch = ['events']; | |
if (!in_array($collection, $collectionsToWatch)) { | |
return; | |
} | |
$data = [ |
NewerOlder