Skip to content

Instantly share code, notes, and snippets.

@jonjaques
jonjaques / TrumpTextRNN.txt
Created June 15, 2018 18:09
Some sample output...
Congrats to @BarackObama is the president of the people will be a great statement and the terrible has a great guy on the people of the election and sold that I am not a great company is a political security and protection and show for the restaurants of my first things and his problem.
The U.S. Clinton because he is a total statement of the president in the U.S. and a great speech with the primary and a show in the U.S. and the Election and Fortunate and it is a presidential players of the country to make a great people at the Apprentice will be a great show in the world and pro
I will be interviewed on @FoxNews is a great guy. I should have a total safety of the great people and says a country and desperate to stay the great restaurant of the U.S. See you think the most and failed in the great political candidate and a speech of the players for the Republican Party Confe
@TrumpNewYork @CNN Thanks Marco Rubio and a great states and good luck in the great people of the Trump Senate and Congress are a great
@jonjaques
jonjaques / an-example.ts
Last active September 10, 2020 03:20
Create Async Actions w/ Redux-Toolkit
export const fetchStuff = createAsyncAction('fetchStuff', (id) => api.fetch(id))
export interface IState {
loading: boolean
stuff?: IStuff
error?: Error
}
export default createReducer<IState>({loading: false}, builder => builder
.addCase(fetchStuff.pending, (state, action) => {

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jonjaques on github.
  • I am jonjaques (https://keybase.io/jonjaques) on keybase.
  • I have a public key ASBhc0Pd34Du7yeU3-fjduwLSoM1cldg60BUVE1K14XWawo

To claim this, I am signing this object: