Skip to content

Instantly share code, notes, and snippets.

View rtablada's full-sized avatar

Ryan Tablada rtablada

View GitHub Profile
@rtablada
rtablada / rebase_pnpm.sh
Created August 9, 2024 17:04
Rebase and automatically pnpm install to resolve conflicts. For everything else, interactively open vscode
#!/bin/zsh
is_rebasing() {
git rev-parse --git-dir &>/dev/null
if [[ $? -eq 0 && -d "$(git rev-parse --git-dir)/rebase-merge" ]] || [[ -d "$(git rev-parse --git-dir)/rebase-apply" ]]; then
return 0
else
return 1
fi
}
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
@rtablada
rtablada / components.index\.js
Created May 20, 2021 16:34
My Component Test
import Component from '@glimmer/component';
export default class extends Component {
}
import TextField from '@ember/component/text-field';
import { computed } from '@ember/object'
export default TextField.extend({
guitar: computed('value', {
get() {
return this.value + ' hello world'
},
set(value) {
console.log(this.people)

Senator Alexander,

This morning you made a statement on voting against witnesses to which I have sent a separate letter, however in that official statement you made some worrying remarks about the validity of the Impeachment Articles of which you have been asked to judge.

On Article 2 you stated: “There is no need to consider further the frivolous second article of impeachment that would remove the president for asserting his constitutional prerogative to protect confidential conversations with his close advisers”. This is what you are being asked to judge Senator, it is not frivolous that the administration is withholding pertinent information in an unprecedented denial of oversight. I fear for the country and the Constitution of what this would allow for in the future. The Constitution and historic precedent does allow for security in information and for some autonomy of the Executive, but the Administration has blatantly abused this privilege to the point of declaring blanket privilege to withhold doc

As we go in to the impeachment of Donald Trump, we need to vote against the rules as put forward by Mitch McConnell last night. For the good of the country, the constitution, and the state of Tennessee, we need to take this impeachment seriously and fairly.

The current rules put forward have the trial going on until as late as 1AM or later, this is unfair and unhealthy for the managers, defense, senators, and the American people. A more moderate time table to allow for a sensible time for arguments and questioning needs to be taken so we are not rushing the parties involved or risking the sleep of the nation.

In a case as important as this we need to hear from witnesses or at the least, we need to hear deposition materials. Every impeachment in the senate has had witnesses or deposition and this trial should be no different. We need first hand accounts and answers to know the truth. The second article is “obstruction of congress” because of the efforts to deny witnesses and evidence, if you vote to not hear

import Ember from 'ember';
export default Ember.Component.extend({
add(args) {
return args.reduce((a, b) => a + b, 0);
},
fullName(args, hash) {
return `${hash.first} ${hash.last}`
}
@rtablada
rtablada / .0how-to.md
Last active April 27, 2019 23:57
Terminal Stuff

How To Install

xcode-select --install

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install wget

https://gist.githubusercontent.com/rtablada/8d720b6eb51c9ab108f2d94e8adab9b3/raw/super-installer.sh
<p>{{value}}</p>
<button {{action "goUp"}}>Click</button>
{{lookup-component Foo in "foo"}}
{{lookup-component Bar in "baz"}}
{{lookup-component Unused in "tomster"}}
{{lookup-component NavBar in "ui/nav-bar"}}
<Foo />
<Bar />
<NavBar />