Skip to content

Instantly share code, notes, and snippets.

View AstmDesign's full-sized avatar
😀
Converting coffee to code

Astm AstmDesign

😀
Converting coffee to code
View GitHub Profile
@Samidahlawi
Samidahlawi / devise.ar.yml
Last active July 25, 2021 20:48
devise.ar.yml v4.7.1
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
en:
devise:
confirmations:
confirmed: "تم تأكيد حسابك الشخصي بنجاح."
send_instructions: "سوف تصلك رسالة خلال دقايق على بريدك الإلكتروني تتضمن الخطوات اللازمة لتأكيد حسابك."
send_paranoid_instructions: "إذا كان بريدك الإلكتروني موجود بالعفل اذا سوف تصلك رسالة خلال دقايق تتضمن خطوات اللازمة لتأكيد حسابك."
failure:
already_authenticated: "تم تسجيل دخولك مُسبقاً."
@jean182
jean182 / bitbucket-pipelines.yml
Created December 18, 2018 03:29
Bitbucket Pipelines example
image: starefossen/ruby-node:2-5
pipelines:
branches:
master:
- step:
script:
- export HEROKU_APP_NAME=ci-conceptual
- chmod +x deploy-scripts/package_and_deploy.sh deploy-scripts/migrate.sh deploy-scripts/restart.sh
- deploy-scripts/package_and_deploy.sh
@pmeulen
pmeulen / snapshot.sh
Last active June 18, 2024 14:53
Script to create and restore snapshots of Azure VMs using azure-cli (az)
#!/usr/bin/env bash
# Script to create and restore snapshots of the OS disk of Azure VMs
# Copyright 2018 SURFnet B.V.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@mikecastrodemaria
mikecastrodemaria / test-doc-see-as-virus-by-clamav.txt
Last active July 23, 2024 03:42
A simple text file to be used as positive test for ClamAv virus scanner
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
@isseu
isseu / Bitbucket Pipeline Rails.yml
Created December 13, 2016 17:11
To run rails with bitbucket pipeline CI
# This is a sample build configuration for Ruby.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: ruby:2.2.4
clone:
depth: 3
@fernandoaleman
fernandoaleman / fix-libv8-mac.txt
Created May 5, 2016 15:14
Fixing libv8 and therubyracer on Mac
brew tap homebrew/versions
brew install v8-315
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
@subfuzion
subfuzion / curl.md
Last active September 27, 2024 01:43
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@squarism
squarism / iterm2.md
Last active September 27, 2024 11:17
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@iangreenleaf
iangreenleaf / gist:b206d09c587e8fc6399e
Last active September 18, 2024 17:34
Rails naming conventions

Rails naming conventions

General Ruby conventions

Class names are CamelCase.

Methods and variables are snake_case.

Methods with a ? suffix will return a boolean.

@addyosmani
addyosmani / README.md
Last active September 4, 2024 11:40 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version