Skip to content

Instantly share code, notes, and snippets.

View thomasmeeus's full-sized avatar

Thomas Meeus thomasmeeus

View GitHub Profile
@thomasmeeus
thomasmeeus / gist:391e83752937bcb8bbe02164ebfbd9f1
Last active April 30, 2022 12:54
Somfy RTS blinds only working for a couple of seconds using RFLink
You have to configure your cover with your original somfy remote.
To switch between US and EU mode you have to simultaneously press UP and DOWN on your remote for 5 seconds.
The cover should move up/down. Then you press MY and DOWN simultaneously for 2 seconds.
2021/03/17 10:54:07 [INFO] Terraform version: 0.14.8
2021/03/17 10:54:07 [INFO] Go runtime version: go1.16
2021/03/17 10:54:07 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2021/03/17 10:54:07 [DEBUG] Attempting to open CLI config file: /Users/thomasm/.terraformrc
2021/03/17 10:54:07 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/17 10:54:07 [DEBUG] checking for credentials in "/Users/thomasm/.terraform.d/plugins"
2021/03/17 10:54:07 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/17 10:54:07 [DEBUG] will search for provider plugins in /Users/thomasm/.terraform.d/plugins
2021/03/17 10:54:07 [TRACE] getproviders.SearchLocalDirectory: /Users/thomasm/.terraform.d/plugins is a symlink to /Users/thomasm/.terraform.d/plugins
2021/03/17 10:54:07 [TRACE] getproviders.SearchLocalDirectory: found github.com/my_company/httpdownload v0.0.1 for darwin_amd64 at /Users/thomasm/.terraform.d/plugins/github.com/my_company/httpdownload/0.0.1/darwin_amd64
2021/03/17 10:54:32 [INFO] Terraform version: 0.14.8
2021/03/17 10:54:32 [INFO] Go runtime version: go1.16
2021/03/17 10:54:32 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2021/03/17 10:54:32 [DEBUG] Attempting to open CLI config file: /Users/thomasm/.terraformrc
2021/03/17 10:54:32 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/17 10:54:32 [DEBUG] checking for credentials in "/Users/thomasm/.terraform.d/plugins"
2021/03/17 10:54:32 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/17 10:54:32 [DEBUG] will search for provider plugins in /Users/thomasm/.terraform.d/plugins
2021/03/17 10:54:32 [TRACE] getproviders.SearchLocalDirectory: /Users/thomasm/.terraform.d/plugins is a symlink to /Users/thomasm/.terraform.d/plugins
2021/03/17 10:54:32 [TRACE] getproviders.SearchLocalDirectory: found github.com/my_company/httpdownload v0.0.1 for darwin_amd64 at /Users/thomasm/.terraform.d/plugins/github.com/my_company/httpdownload/0.0.1/darwin_amd64
apiVersion: v1
data:
ca-cert: >-
LS0tLS1CR--base64-encoded-string--LS0tLS0K
crl: >-
LS0tLS--base64-encoded-string--tLS0K
kind: Secret
metadata:
creationTimestamp: '2018-06-13T10:57:11Z'
labels:
[root@localhost bin]# ./backup.sh -u admin -r /home/vagrant/
WARNING: JAVA_HOME not found in your environment.
Please, set the JAVA_HOME variable in your enviroment to match the
location of the Java Virtual Machine you want to use in case of run
fail.
Using locale: en_US.UTF-8
Starting restore of backup...
Processing backup: /home/vagrant/db/__contents__.xml
Creating collection /db/system/security/exist
if($value['name'] == $project['name']){
echo "they are equal !";
}else{
echo "they are not equal !";
}
// no output
if($value['name'] == $project['name']){
echo "they are equal !";
* executing "sudo -p 'sudo password: ' -u projectname chmod -R g+w /home/projects/projectname"
servers: ["http://$server "]
[http://$server ] executing command
** [out :: http://$server ]
** [out :: http://$server ] chmod: changing permissions of `/home/projects/projectname/.bundle': Operation not permitted
** [out :: http://$server ] chmod: changing permissions of `/home/projects/projectname/.bundle/config': Operation not permitted
2014/04/16 14:08:32 [debug] 20081#0: *2 post event 0000000000747D58
2014/04/16 14:08:32 [debug] 20081#0: *2 delete posted event 0000000000747D58
2014/04/16 14:08:32 [debug] 20081#0: *2 http keepalive handler
2014/04/16 14:08:32 [debug] 20081#0: *2 malloc: 0000000000723540:1024
2014/04/16 14:08:32 [debug] 20081#0: *2 SSL_read: 591
2014/04/16 14:08:32 [debug] 20081#0: *2 SSL_read: -1
2014/04/16 14:08:32 [debug] 20081#0: *2 SSL_get_error: 2
2014/04/16 14:08:32 [debug] 20081#0: *2 reusable connection: 0
@thomasmeeus
thomasmeeus / gist:7215443
Created October 29, 2013 14:13
Apple SSD
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x001a 200 200 000 Old_age Always - 0
5 Reallocated_Sector_Ct 0x0033 100 100 000 Pre-fail Always - 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1909
12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 1353
169 Unknown_Attribute 0x0013 253 253 010 Pre-fail Always - 1572385855744
173 Unknown_Attribute 0x0032 179 179 100 Old_age Always - 1584884416991
192 Power-Off_Retract_Count 0x0012 099 099 000 Old_age Always - 1093