Skip to content

Instantly share code, notes, and snippets.

View rahmanusta's full-sized avatar

Rahman Usta rahmanusta

View GitHub Profile
@rahmanusta
rahmanusta / JVM_Crash.log
Created October 15, 2023 08:41
JVM Crash: A fatal error has been detected by the Java Runtime
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00003b8ba8c04a64, pid=88918, tid=259
#
# JRE version: OpenJDK Runtime Environment Temurin-21+35 (21.0+35) (build 21+35-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21+35 (21+35-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C 0x00003b8ba8c04a64
#
@rahmanusta
rahmanusta / build.log
Created October 31, 2019 09:43
Project Loom Build Logs
Building target 'images' in configuration 'macosx-x86_64-server-release'
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Compiling 7 properties into resource bundles for jdk.jshell
Parsing 2 properties into enum-like class for jdk.compiler
Compiling 19 properties into resource bundles for jdk.compiler
Compiling 10 properties into resource bundles for jdk.javadoc
Compiling 12 properties into resource bundles for jdk.jdeps
Compiling 117 files for BUILD_java.compiler.interim
Compiling 1 files for BUILD_JFR_TOOLS
Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s)
@rahmanusta
rahmanusta / The Technical Interview Cheat Sheet.md
Created July 1, 2017 16:29 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@rahmanusta
rahmanusta / latex install
Created June 11, 2017 14:37 — forked from melvincabatuan/latex install
Centos 7 latex install
yum -y install texlive texlive-latex texlive-xetex
yum -y install texlive-collection-latex
yum -y install texlive-collection-latexrecommended
yum -y install texlive-xetex-def
yum -y install texlive-collection-xetex
Only if needed:
yum -y install texlive-collection-latexextra
javax/annotation/Generated
javax/annotation/ManagedBean
javax/annotation/PostConstruct
javax/annotation/PreDestroy
javax/annotation/Priority
javax/annotation/Resource
javax/annotation/Resources
javax/annotation/security/DeclareRoles
javax/annotation/security/DenyAll
javax/annotation/security/PermitAll
@rahmanusta
rahmanusta / Java EE 7 API Repeated Annotation Candidates
Last active March 7, 2016 20:57
Java EE 7 API Repeated Annotation Candidates
// command to list of all annotations in java ee 7 api
grep -R "@interface" javaee-api-7.0-sources | cut -d: -f1
javax/annotation/Resource
javax/annotation/Resources
javax/annotation/sql/DataSourceDefinition
javax/annotation/sql/DataSourceDefinitions
@rahmanusta
rahmanusta / dynamiclist.js
Created February 26, 2016 14:43
React Dynamic List Adder
var id = 0;
var NameRow = React.createClass({
render: function () {
return (<div>
<ul>
{this.props.names.map(function (e) {
return (<li key={e.id}>{e.name}</li>);
})}
</ul>
@rahmanusta
rahmanusta / counter.js
Created February 26, 2016 14:22
React Iteration example
var NameRow = React.createClass({
getInitialState: function () {
return {
names: this.props.names || []
};
},
render: function () {
return (<div>
<ul>
{this.state.names.map(function (e) {
@rahmanusta
rahmanusta / index.js
Created February 26, 2016 13:39
React Zurb ProgressBar State Gist
var ProgressBar = React.createClass({
getInitialState: function () {
return {
position: 0
};
},
proceed: function () {
this.setState(function (currentState) {
if (currentState.position >= 100) {
@rahmanusta
rahmanusta / index.js
Created February 26, 2016 12:44
jumbotron React Component
var Jumbotron = React.createClass({
render: function () {
return (<div className="jumbotron">
<h1>{this.props.title || "Hello, world"}!</h1>
<p>{this.props.content || "No content"}</p>
<p>
<a className="btn btn-primary btn-lg" href={this.props.link} role="button">
{this.props.more || "Learn more"}
</a>
</p>