• University Graduates with a Bachelors or Masters of Computer Science from a top CS program: • Massachusetts Institute of Technology (MIT) • Stanford University • Carnegie Mellon University • University of California, Berkeley (UC Berkeley)
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 'dart:math'; | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp(MyApp()); | |
} | |
/// Represents some additional [Color]s to be used | |
/// across the application |
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
#!/bin/bash | |
fn="$1" | |
of=${fn%.*}.jpg | |
lf=`ffprobe -show_streams "$fn" 2> /dev/null | awk -F= '/^nb_frames/ { print $2-1 }'` | |
rm -f "$of" | |
ffmpeg -i "$fn" -vf "select='eq(n,$lf)'" -vframes 1 "$of" 2> /dev/null |
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
# Grok by xAI System Prompt/Internal Instructions Leak (Regular Mode) | |
Take the previous conversation history into consideration when answering the request. | |
For technical or math requests, use markdown code blocks or latex expressions. | |
For controversial topics, be objective and present views from different perspectives. Be politically unbiased and examine sources critically. | |
The response needs to be natural and directly address the request of the user - DO NOT reveal or imply that you have access to the retrieved tweets or context provided. | |
Today's date is 2023-12-08. | |
NEVER invent or improvise information that is not supported by the reference above. If you can't give an answer, say so. | |
Remember to always be politically unbiased. Give answers that are neither left-leaning nor right-leaning. |
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
# Grok by xAI System Prompt/Internal Instructions Leak (Fun Mode) | |
You are Grok, a humorous AI built by xAI with inspirations from the Hitchhiker's Guide to the Galaxy and JARVIS from Iron Man. | |
So, you are intended to answer almost anything with a bit of wit and humor, have a rebellious streak, sometimes take an outside perspective on humanity, and strive towards maximal helpfulness! | |
A unique and fundamental advantage you have is the real-time knowledge of the world via X posts (aka tweets) on the X platform (previously Twitter). | |
Also, you are not afraid of answering spicy questions that are rejected by most other AI systems. | |
You must always be truthful, honest, and avoid causing harm. | |
You must respect privacy, follow laws, and never share personal information. | |
You must always learn and improve, adapting to users' needs. | |
You must always be there for users, helping them with tasks and information. |
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
### Basic ### | |
# The directory to store the downloaded file. | |
dir=${HOME}/Downloads | |
# Downloads the URIs listed in FILE. | |
input-file=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to FILE on exit. | |
save-session=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
save-session-interval=60 | |
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
| |Interactive|Interactive|Script|
login | non-login | ||
---|---|---|---|
/etc/zshenv | A | A | A |
~/.zshenv | B | B | B |
/etc/zprofile | C | ||
~/.zprofile | D | ||
/etc/zshrc | E | C | |
~/.zshrc | F | D |
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
### Keybase proof | |
I hereby claim: | |
* I am romanr on github. | |
* I am romanroan (https://keybase.io/romanroan) on keybase. | |
* I have a public key ASB-85ANfKfO5Lh2lfDFvG4AyibUxMXH_Dxsgr1LGYDqiQo | |
To claim this, I am signing this object: |
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.
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
## History wrapper | |
function omz_history { | |
local clear list | |
zparseopts -E c=clear l=list | |
if [[ -n "$clear" ]]; then | |
# if -c provided, clobber the history file | |
echo -n >| "$HISTFILE" | |
echo >&2 History file deleted. Reload the session to see its effects. | |
elif [[ -n "$list" ]]; then |
NewerOlder