Activates a service immediately:
systemctl start foo.service
Deactivates a service immediately:
#!/usr/bin/sudo ruby | |
# | |
# revealer.rb -- Deobfuscate GHE .rb files. | |
# | |
# This is simple: | |
# Every obfuscated file in the GHE VM contains the following code: | |
# | |
# > require "ruby_concealer.so" | |
# > __ruby_concealer__ "..." |
-- Génération automatique de classements aléatoires en production, pour les FNS | |
-- =================================== | |
FUNCTION gen_class_aiea_v1_relatif_grp( o_g_ea_cod_ins IN varchar2, o_g_ti_cod IN number, o_c_gp_cod IN number, o_g_tg_cod IN number, iogin IN varchar2, type_login IN number, mode_dev IN number, confirm IN number, saio IN number, nip IN varchar2, indic IN number, mess_err out varchar2, mess_aff out varchar2) | |
RETURN number IS | |
retour number; | |
X varchar2(2); | |
dummy number; | |
dummy2 number; | |
l_c_gp_fIg_seI c_grp.c_gp_flg_sel%type; |
{% extends "staff_base.html" %} | |
{% load bootstrap3 %} | |
{% block title %}Salamander{% endblock %} | |
{% block content_title %} | |
<h1 class="page-header">Create coach</h1> | |
{% endblock %} | |
{% block content %} |
version: '2' | |
services: | |
logspout: | |
image: gliderlabs/logspout | |
container_name: logspout | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
- SYSLOG_STRUCTURED_DATA=- X-OVH-TOKEN="<set-your-token-here>" | |
ports: |
#!/bin/bash | |
# This script is used by Shinken to post alerts for services into a Slack channel | |
# using the slackcli command line. Create the channel, | |
# and integration first and then add this notification script in your | |
# Shinken configuration. | |
# | |
# You have to set enable_environment_macros=1 in the shinken.cfg configuration file. | |
# | |
# All variables that start with NAGIOS_ are provided by Shinken as |
#!/bin/bash | |
sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get dist-upgrade -y | |
sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo echo "deb https://apt.dockerproject.org/repo ubuntu-wily main" >> /etc/apt/sources.list.d/docker.list | |
sudo apt-get update | |
sudo apt-get install linux-image-generic-lts-trusty -y | |
sudo apt-get install docker-engine -y | |
sudo apt-get -y install python-pip | |
sudo pip install -U docker-compose |
Lien vers l'offre OVH Public Cloud Object Storage : https://www.ovh.com/fr/cloud/storage/object-storage.xml
Pour utiliser l'API OpenStack Swift il faut récupérer des identifiants uniquement disponible dans l'interface Horizon
###1 - Créer un accès à Horizon
Dans l'espace client OVH : https://www.ovh.com/manager/cloud/login/
diff --git "a/C:\\Users\\JIANG_~1\\AppData\\Local\\Temp\\TortoiseGit\\hac7318.tmp\\hackrf-a1b8535-left.c" "b/C:\\Users\\jiang_000\\Desktop\\hackrf\\host\\libhackrf\\src\\hackrf.c" | |
index 2902a80..53b0259 100644 | |
--- "a/C:\\Users\\JIANG_~1\\AppData\\Local\\Temp\\TortoiseGit\\hac7318.tmp\\hackrf-a1b8535-left.c" | |
+++ "b/C:\\Users\\jiang_000\\Desktop\\hackrf\\host\\libhackrf\\src\\hackrf.c" | |
@@ -410,12 +410,15 @@ static int hackrf_open_setup(libusb_device_handle* usb_device, hackrf_device** d | |
//int speed = libusb_get_device_speed(usb_device); | |
// TODO: Error or warning if not high speed USB? | |
- | |
+ int current_configuration = 0; |
[Unit] | |
Description=consul agent | |
Requires=network-online.target | |
After=network-online.target | |
[Service] | |
EnvironmentFile=-/etc/sysconfig/consul | |
Environment=GOMAXPROCS=2 | |
Restart=on-failure | |
ExecStart=/usr/local/sbin/consul agent $OPTIONS -config-dir=/etc/consul.d |