Skip to content

Instantly share code, notes, and snippets.

View 3runoDesign's full-sized avatar
🏡
Stay well, Stay home

Bruno Fernando dos Santos Silva 3runoDesign

🏡
Stay well, Stay home
View GitHub Profile
@3runoDesign
3runoDesign / README.md
Last active November 14, 2023 13:32
Convert RAW to JPG

Sheel para converter fotos RAW para .jpeg

Instalar:

  • salve o script como raw2jpg.sh na desktop.
  • abra o terminal escreva o comando chmod +x (sem as aspas e com o espaço no final)
  • arraste o arquivo do script para o terminal e depois aperte enter.

chmod +x raw2jpg.sh

@3runoDesign
3runoDesign / AppDelegate.m
Created January 7, 2022 02:28
Print Font Names on IOS
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// ...
for (NSString* family in [UIFont familyNames])
{
NSLog(@"%@", family);
for (NSString* name in [UIFont fontNamesForFamilyName: family])
{
NSLog(@" %@", name);
@3runoDesign
3runoDesign / Procfile
Last active March 3, 2022 14:09
Deploy Heroku [Laravel 5.2.*]
web: sh app_boot.sh
worker: php artisan queue:listen
@3runoDesign
3runoDesign / ccdl.command
Last active May 14, 2021 06:33 — forked from jorisguex/ccdl.command
Adobe Offline Package Generator v0.1.2 (macOS only)
#!/bin/bash
CYAN="$(tput bold; tput setaf 6)"
RESET="$(tput sgr0)"
clear
if command -v python3 > /dev/null 2>&1; then
if [ $(python3 -c "print('ye')") = "ye" ]; then
clear
@3runoDesign
3runoDesign / bumpversion.sh
Last active September 28, 2020 14:52
Bump version
#!/bin/bash
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3"
# this script will display the current version, automatically
# suggest a "minor" version update, and ask for input to use
# the suggestion, or a newly entered value.
@3runoDesign
3runoDesign / settings.json
Created June 30, 2020 18:11
My VSCode config
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"workbench.sideBar.location": "right",
"editor.tabSize": 2,
"editor.fontSize": 18,
"editor.lineHeight": 26,
{
"plugins": ["stylelint-order", "stylelint-config-rational-order/plugin"],
"rules": {
"order/properties-order": [],
"plugin/rational-order": [
true,
{
"border-in-box-model": false,
"empty-line-between-groups": false
}
#!/bin/bash
if docker network ls | grep nginx-proxy; then
echo 'network found'
else
echo 'network not found';
docker network create nginx-proxy
fi
if docker ps | grep nginx-proxy; then
@3runoDesign
3runoDesign / EloquentCheatSheet.md
Created October 22, 2018 17:28 — forked from avataru/EloquentCheatSheet.md
Eloquent relationships cheat sheet
@3runoDesign
3runoDesign / .htaccess
Created August 30, 2017 20:26 — forked from lucasprogamer/.htacess
WP .htaccess
#Força a utilizar Cache-Control e Expires header
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType text/cache-manifest "access plus 0 seconds"
# Html