Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| class ParquetSink(beam.io.fileio.FileSink): | |
| def __init__(self, | |
| file_path_prefix, | |
| schema, | |
| row_group_buffer_size=64 * 1024 * 1024, | |
| record_batch_size=1000, | |
| codec='none', | |
| use_deprecated_int96_timestamps=False, | |
| file_name_suffix='', | |
| num_shards=0, |
| 2.1.0 |
| <?php | |
| /*********************************************************** | |
| MYSQL VERSION | |
| ************************************************************/ | |
| $username="root"; $password=""; $database="exam_codes"; | |
| $con = mysql_connect("localhost",$username,$password) or die( "Unable to Connect database"); | |
| mysql_select_db($database,$con) or die( "Unable to select database"); | |
| // Table Name that you want | |
| // to export in csv |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| def even_fibonacci_sum(n): | |
| fn_2 = 2 #Fn-2 | |
| fn_1 = 8 #Fn-1 | |
| sum = 10 #first even number Fn-2 + Fn-1 | |
| while True : | |
| fn = 4 * fn_1 + fn_2 | |
| if fn >= n: return sum | |
| sum += fn | |
| fn_2, fn_1 = fn_1, fn |
| <?php | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Excel To Array | |
| |-------------------------------------------------------------------------- | |
| | Helper function to convert excel sheet to key value array | |
| | Input: path to excel file, set wether excel first row are headers | |
| | Dependencies: PHPExcel.php include needed | |
| */ | |
| function excelToArray($filePath, $header=true){ |
| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://gist.githubusercontent.com/four43/e00d01ca084c5972f229/raw/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |
| #!/bin/sh | |
| # PATH TO YOUR HOSTS FILE | |
| ETC_HOSTS=/etc/hosts | |
| # DEFAULT IP FOR HOSTNAME | |
| IP="127.0.0.1" | |
| # Hostname to add/remove. | |
| HOSTNAME=$1 |
sudo yum update
##Install Redis https://gist.github.com/dstroot/2776679
wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh
chmod 777 install-redis.sh
./install-redis.sh
Use $this to refer to the current object. Use self to refer to the current class. In other words, use $this->member for non-static members, use self::$member for static members.
Source: When to use self vs this -stackoverflow