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
package com.example.xsupplydemo; | |
import androidx.appcompat.app.AppCompatActivity; | |
import androidx.fragment.app.FragmentPagerAdapter; | |
import androidx.viewpager.widget.ViewPager; | |
import android.os.Bundle; | |
import com.google.android.material.tabs.TabLayout; | |
import android.widget.TextView; | |
import com.x.sdk.xSdk; |
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
package com.example.xsupplydemo; | |
import android.os.Bundle; | |
import androidx.fragment.app.Fragment; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.TextView; |
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
client | |
dev tap | |
proto udp | |
remote <host> <port> | |
resolv-retry infinite | |
nobind | |
persist-key | |
persist-tun | |
ns-cert-type server | |
comp-lzo |
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
2015-10-10 16:46:50 *Tunnelblick: OS X 10.10.5; Tunnelblick 3.6beta10 (build 4400); prior version 3.5.4 (build 4270.4395) | |
2015-10-10 16:46:51 *Tunnelblick: Attempting connection with xxx-spb using shadow copy; Set nameserver = 1; monitoring connection | |
2015-10-10 16:46:51 *Tunnelblick: openvpnstart start xxx-spb.tblk 1337 1 0 1 0 541042 -ptADGNWradsgnw 2.3.7 | |
2015-10-10 16:46:52 *Tunnelblick: openvpnstart log: | |
Loading tap-signed.kext | |
OpenVPN started successfully. Command used to start OpenVPN (one argument per displayed line): | |
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.7/openvpn | |
--daemon | |
--log |
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
#!/bin/bash | |
# from http://habrahabr.ru/post/108240/ | |
ncpus=`grep -ciw ^processor /proc/cpuinfo` | |
test "$ncpus" -gt 1 || exit 1 | |
n=0 | |
for irq in `cat /proc/interrupts | grep eth | awk '{print $1}' | sed s/\://g` | |
do | |
f="/proc/irq/$irq/smp_affinity" |
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
object Host "app1.xxx" { | |
import "generic-host" | |
address = "192.168.1.1" | |
vars.os = "Linux" | |
vars.os_family = "Centos" | |
vars.placement = "yyy" | |
vars.placement = "zzz" | |
vars.operator = "on_call" | |
vars.sla = "24x7" |
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
object Host "pkg7.xxx" { | |
import "generic-host" | |
address = "192.168.1.1" | |
vars.os = "Linux" | |
vars.os_family = "Centos" | |
vars.operator = "on_call" | |
vars.sla = "24x7" | |
object Service "load_average" { |
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
object Host "pkg7.xxx" { | |
import "generic-host" | |
address = "192.168.1.1" | |
vars.os = "Linux" | |
vars.os_family = "Centos" | |
vars.operator = "on_call" | |
vars.sla = "24x7" | |
vars.host_name = "pkg7.xxx" |
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
object Host "pkg7.xxx" { | |
import "generic-host" | |
address = "192.168.5.2" | |
vars.os = "Linux" | |
vars.os_family = "Centos" | |
//check_command = "http" | |
vars.operator = "on_call" | |
vars.sla = "24x7" |
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
[root@rhel6-vm-local pulp]# pulp-admin puppet repo sync run --repo-id=repo1 | |
+----------------------------------------------------------------------+ | |
Synchronizing Repository [repo1] | |
+----------------------------------------------------------------------+ | |
An internal error occurred on the Pulp server: | |
RequestException: POST request | |
on /pulp/api/v2/repositories/repo1/actions/sync/ failed with 500 - Unhandled | |
Exception |
NewerOlder