This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//practice | |
fn main(){ | |
println!("-------------------"); | |
println!("{}",fibo(45)); | |
println!("-------------------"); | |
} | |
fn fibo(n : i32) -> i32 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _curl($url,$fields) | |
{ | |
$fields_string = ''; | |
//url-ify the data for the POST | |
foreach($fields as $key=>$value) { | |
$fields_string .= $key.'='.$value.'&'; | |
} | |
rtrim($fields_string, '&'); | |
//open connection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
#Removes access to the system folder by users. | |
#Additionally this will allow you to create a System.php controller, | |
#previously this would not have been possible. | |
#'system' can be replaced if you have renamed your system folder. | |
RewriteCond %{REQUEST_URI} ^system.* | |
RewriteRule ^(.*)$ /index.php?/$1 [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REVERB_APP_ID=***** | |
REVERB_APP_KEY=***** | |
REVERB_APP_SECRET=***** | |
REVERB_HOST=your-domain-here.com | |
REVERB_PORT=44444 | |
REVERB_SCHEME=https | |
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}" | |
VITE_REVERB_HOST="${REVERB_HOST}" | |
VITE_REVERB_PORT="${REVERB_PORT}" |