"Everyone needs a hobby." - Tony Stark, Iron Man 3
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
# chang ssh and enable pub key | |
# nano -w /etc/ssh/sshd_config | |
# cp .ssh/authorized_keys2 /home/xxx/.ssh/authorized_keys | |
# change to ca's mirror | |
#/etc/pacman.conf | |
#[community] | |
#SigLevel = Never | |
#Include = /etc/pacman.d/mirrorlist |
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
#!/usr/bin/sh | |
pacman -S --force | |
pacman -S --force base | |
rm -rf /boot//boot/bzImage-* | |
grub-mkconfig -o /boot/grub/grub.cfg | |
useradd -m -G xxx -s /bin/zsh xxx | |
reboot |
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
[Unit] | |
Description=OpenSSH private key agent | |
Wants=environment.target | |
Before=environment.target | |
IgnoreOnIsolate=true | |
[Service] | |
Type=forking | |
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket | |
#PIDFile=%t/ssh-agent.pid |
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
Schema: | |
1. pxe boot | |
2. partition: GRUB + GPT, vfat - boot partition, ext4 | |
Guide: | |
Round#1: mini text mode | |
1. pxe boot from a tftp/dhcpc server. TBD. |
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
Tools: | |
# hdparm -Tt /dev/sdb /dev/sda | |
$ dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc | |
# echo 3 > /proc/sys/vm/drop_caches | |
$ dd if=tempfile of=/dev/null bs=1M count=1024 | |
$ dd if=tempfile of=/dev/null bs=1M count=1024 | |
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
#SearchField Text { | |
background-color: #333; | |
color: #FFF; | |
} |
-
make sure your jdk package are ready to upload.
-
Upload the files inside the archive to your private repository on Cloudbees forge (like, /private/abc/ ) so that you have */private/abc/<your_zipped_jdk>,...
-
On the Jenkins configuration page ([https://YourAccountName.ci.cloudbees.com/configure](https://.ci.cloudbees.com/configure) (use your real account name / subdomain) create a new JDK Installation and set JAVA_HOME to
/tmp/<your_jdk>
(or any other version you want to use). -
Add a Pre Step and add the following shell script. First, it copies the JDK version you are using to the /tmp folder. Be sure to use your real account name / subdomain.
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
eventBroker.subscribe(IThemeEngine.Events.THEME_CHANGED, | |
new EventHandler() { | |
public void handleEvent(Event event) { | |
ITheme currentTheme = (ITheme) event.getProperty(IThemeEngine.Events.THEME); | |
if (currentTheme.getId().equals(THEME_DARKER_ID)) { | |
setupPreferences(); | |
} else { | |
setToDefaultPreferences(); | |
} | |
} |
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
@Inject | |
protected IEventBroker eventBroker; | |
@Inject | |
EModelService modelService; | |
@Inject | |
private EHandlerService handlerService; | |
@Inject |
NewerOlder