Skip to content

Instantly share code, notes, and snippets.

@typhartez
typhartez / 3D-text-blender.md
Last active July 14, 2024 03:18
3D Mesh text with blender
  • num5 num7
  • Add Text
  • do whatever you want with the text
  • num3
  • r x 90
  • In toolshelf, use Data tab (F)
  • Geometry: play with Extrude
  • Object Mode
  • alt+C -> Mesh from Curve/Meta/Surf/Text
/*
Name: Sonar
Description: how to kill a sim with llCastRay
Creator: Chaser.Zaks
License: CC-BY
Construction:
1) Create 3 prims, set their positions to the same spot.
2) Set the first prim to Cylinder, 2x2x0.13, slice 0.1 to 1.0.
3) Set the second prim to Cylinder, 2x2x0.13, slice 0.0 to 0.1.
#!/bin/sh
#----------------------------------------------------------#
# settings #
#----------------------------------------------------------#
#text colors
redtext() { echo "$(tput setaf 1)$*$(tput setaf 9)"; }
greentext() { echo "$(tput setaf 2)$*$(tput setaf 9)"; }
yellowtext() { echo "$(tput setaf 3)$*$(tput setaf 9)"; }
@luisintosh
luisintosh / create_wp.vestacp.md
Last active June 2, 2019 20:40
Install wordpress in VestaCP with a command

Installing command in a server with VestaCP

wget https://gist.githubusercontent.com/luisintosh/ad4ef22dc1c4fa40adf336e608f0cafe/raw/70dd98b379ae8614d6df96720f9845b5ae026002/create_wp.sh && chmod +x create_wp.sh && mv create_wp.sh /usr/local/bin/create_wp

Usage

create_wp domain [email]

NOTE: If you disabled the PHP functions proc_open() and/or proc_close() you need to temporary enable them.

@hurtsky
hurtsky / gist:4fe96fdb63389e184a65119f93384b73
Last active April 27, 2019 13:58
how to get 90% + in email grader or use cram-md5 in vestaCP
# this tutorial provided without any guarantee!
# only tested in ubuntu 16.04 64bit
--- 1st step ---
open /usr/local/vesta/bin/v-add-email
navigate to 'Action' and change to this
# Generating hashed password
# salt=$(generate_password "$PW_MATRIX" "8")
# md5="{md5}$($BIN/v-generate-password-hash md5 $salt <<<$password)"
@peterbrinck
peterbrinck / Laravel on VestaCP.md
Last active July 2, 2023 14:49
Laravel web templates for VestaCP

I'm not using this or VestaCP anymore, so I can't confirm if still working or not.

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

@mtaziz
mtaziz / awesome-sysadmin-inspired-by-Awesome-PHP
Last active April 11, 2023 07:08
awesome-sysadmin-inspired-by-Awesome-PHP
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ For the following awesome sysadmin, All the credit goes to the author , Francisco Augusto kahun,+
+ and community + contributers +
+ https://github.com/kahun/awesome-sysadmin.git+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###Awesome Sysadmin
A curated list of amazingly awesome open source sysadmin resources inspired by Awesome PHP
Awesome Sysadmin
@mburst
mburst / rss_reader.php
Created March 24, 2013 03:58
RSS Feed Reader in PHP
<html>
<head>
<title>RSS Feed Reader</title>
</head>
<body>
<?php
//Feed URLs
$feeds = array(
"http://maxburstein.com/rss",
"http://www.engadget.com/rss.xml",