Comando con Ruby instalado
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'
Ejemplo: No usar en producción
4510c8cf2fe423f8be5afccbdd30c678677e172b
Comando con Ruby instalado
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'
Ejemplo: No usar en producción
4510c8cf2fe423f8be5afccbdd30c678677e172b
DB::table('categorias')->insert([ | |
'nombre' => 'Café', | |
'icono' => 'cafe', | |
'created_at' => Carbon::now(), | |
'updated_at' => Carbon::now(), | |
]); | |
DB::table('categorias')->insert([ | |
'nombre' => 'Hamburguesas', | |
'icono' => 'hamburguesa', |
const customStyles = { | |
content: { | |
top: "50%", | |
left: "50%", | |
right: "auto", | |
bottom: "auto", | |
marginRight: "-50%", | |
transform: "translate(-50%, -50%)", | |
}, | |
}; |
# Install dependencies only when needed | |
FROM node:18-alpine3.15 AS deps | |
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. | |
RUN apk add --no-cache libc6-compat | |
WORKDIR /app | |
COPY package.json yarn.lock ./ | |
RUN yarn install --frozen-lockfile | |
# Build the app with cache dependencies | |
FROM node:18-alpine3.15 AS builder |
import React from 'react'; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
KeyboardAvoidingView, | |
ScrollView, | |
Platform, | |
} from 'react-native'; | |
export default function Screen() { |
// Source: https://twitter.com/calebporzio/status/1151876736931549185 | |
<div class="flex"> | |
<aside class="h-screen sticky top-0"> | |
// Fixed Sidebar | |
</aside> | |
<main> | |
// Content | |
</main> |
This Gist contains the GitHub Language colors in CSS and JSON formats in seperate files. |