Skip to content

Instantly share code, notes, and snippets.

View lokeshh's full-sized avatar
🌴
On vacation

Lokesh Sharma lokeshh

🌴
On vacation
View GitHub Profile
#!/bin/sh
#jinstall - Command line script to easily add new java directories to
#'alternatives'. This sets the java as default, and you can switch your
#default java with update-java-alternatives
#
#Copyright 2014 Bruce.Ingalls at gmail & Alin Andrei <webupd8@gmail.com>
#GPL v3 Affero license at http://www.gnu.org/
#Downloads & discussion at http://www.webupd8.org/
#Tested on Ubuntu Oneiric; should require few changes for other modern Unix systems
#Currently tested only with JDK, not JRE.
-- Logs begin at Tue 2017-01-03 16:35:05 IST, end at Tue 2017-01-03 17:09:01 IST. --
Jan 03 16:35:05 kali kernel: microcode: CPU0 microcode updated early to revision 0xa4, date = 2010-10-02
Jan 03 16:35:05 kali kernel: Linux version 4.5.0-kali1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.3.1 20160409 (Debian 5.3.1-14) ) #1 SMP Debian 4.5.3-2kali1 (2016-05-09)
Jan 03 16:35:05 kali kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.5.0-kali1-amd64 root=/dev/sda6 ro initrd=/install/gtk/initrd.gz quiet
Jan 03 16:35:05 kali kernel: x86/fpu: Legacy x87 FPU detected.
Jan 03 16:35:05 kali kernel: x86/fpu: Using 'lazy' FPU context switches.
Jan 03 16:35:05 kali kernel: e820: BIOS-provided physical RAM map:
Jan 03 16:35:05 kali kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
Jan 03 16:35:05 kali kernel: BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
Jan 03 16:35:05 kali kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
...
referencetbmv_thread.c:(. totext+ `zcopy_k'
tbmv_thread.c0x453)::(.text +0xcb): undefinedundefined reference reference to `caxpy_k to `zscal_k'
tbmv_thread.c:(.'text+0x17a
tbmv_thread.c): undefined reference to `zdotc_k'
:(.text+0x472): undefined. ./referencelibopenblas64_p to-r0.2.19.a (ztbmv_thread_CUU.o`ccopy_k'
../)libopenblas64_p-:r0.2.19.a(ctbmv_thread_CUN.o In): In functionfunction `ztbmv_thread_CUU `trmv_kernel':
tbmv_thread.c':
tbmv_thread.c::((.text+0x446): .undefinedtext+ reference to `0x72zaxpy_k): undefined reference to `ccopy_k'
@lokeshh
lokeshh / app.yml
Last active February 21, 2017 18:01
##
## After making changes to this file, you MUST rebuild
## /var/discourse/launcher rebuild app
##
## BE *VERY* CAREFUL WHEN EDITING!
## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT!
## visit http://www.yamllint.com/ to validate this file as needed
templates:
- "templates/postgres.template.yml"
jasmine server started
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
...................................FF........****.........................
Failures:
Event Countdown update(): it calculates the time to the event in seconds
Expected [ 1799.903 ] to be close to 1800, 1.
stack@http://localhost:38233/__jasmine__/jasmine.js:2140:37
buildExpectationResult@http://localhost:38233/__jasmine__/jasmine.js:2110:19
expectationResultFactory@http://localhost:38233/__jasmine__/jasmine.js:766:40
#!/usr/bin/python
import httplib2
import os
import sys
from apiclient.discovery import build
from apiclient.errors import HttpError
from oauth2client.client import flow_from_clientsecrets
from oauth2client.file import Storage
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#!/usr/bin/ruby
require 'rubygems'
gem 'google-api-client', '0.8'
require 'google/api_client'
require 'google/api_client/client_secrets'
require 'google/api_client/auth/file_storage'
require 'google/api_client/auth/installed_app'
# This OAuth 2.0 access scope allows for read-only access to the authenticated
lokeshh:~/workspace/daru-view $ rails s -b $IP -p $PORT
/usr/local/rvm/gems/ruby-2.3.0/bundler/gems/daru-view-c709453568fb/lib/daru/view/adapters/googlecharts/data_table_iruby.rb:2:in `require': cannot load such file -- google_visualr (LoadError)
from /usr/local/rvm/gems/ruby-2.3.0/bundler/gems/daru-view-c709453568fb/lib/daru/view/adapters/googlecharts/data_table_iruby.rb:2:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/bundler/gems/daru-view-c709453568fb/lib/daru/view/adapters/googlecharts/display.rb:3:in `require_relative'
from /usr/local/rvm/gems/ruby-2.3.0/bundler/gems/daru-view-c709453568fb/lib/daru/view/adapters/googlecharts/display.rb:3:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/bundler/gems/daru-view-c709453568fb/lib/daru/view.rb:5:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/bundler/gems/daru-view-c709453568fb/lib/daru/view.rb:5:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/bundler-1.14.4/lib/bundler/runtim
root@kali:~# greenbone-scapdata-sync
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/
All transactions are logged.
If you have any questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.
By using this service you agree to our terms and conditions.