This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
// popcat auto-clicker | |
// by rayriffy | |
// drop this into DevTools console | |
// to run: | |
// let agent = clicker() | |
// | |
// to stop: | |
// agent.stop() |
import { HttpService, Injectable, Logger } from '@nestjs/common'; | |
import { InjectModel } from '@nestjs/sequelize'; | |
import { ReadStream } from 'fs'; | |
import { Sequelize } from 'sequelize-typescript'; | |
import * as xlsx from 'xlsx'; | |
import { WorkBook, WorkSheet } from 'xlsx'; | |
import { ArquivoImportacao } from './dto/arquivo-importacao.dto'; | |
@Injectable() | |
export class ImportacaoProcessosService { |
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
const express = require('express') | |
const next = require('next') | |
const Cache = require('lru-cache'); | |
const compression = require('compression') | |
const port = parseInt(process.env.PORT, 10) || 3000 | |
const dev = process.env.NODE_ENV !== 'production' | |
const app = next({ dev }) |
package main | |
import ( | |
"context" | |
"crypto/tls" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net" | |
"net/http" |
# Delete all firestore composite indexes | |
gcloud firestore indexes composite list --uri | xargs -I{} gcloud firestore indexes composite delete {} --quiet |
import { ApolloClient, QueryOptions, MutationOptions } from 'apollo-client'; | |
import { DocumentNode } from 'graphql'; | |
import { getSdk, Requester } from '.generated/schema-typedefs'; | |
import { ApolloRequestError } from './ApolloRequestError'; | |
export type ApolloRequesterOptions<V, R> = | |
| Omit<QueryOptions<V>, 'variables' | 'query'> | |
| Omit<MutationOptions<R, V>, 'variables' | 'mutation'>; |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Animation Practice', | |
theme: ThemeData( |