Skip to content

Instantly share code, notes, and snippets.

View javedulu's full-sized avatar
🎯
Focusing

Javed Shaik javedulu

🎯
Focusing
View GitHub Profile
#include <iostream>
#include <cstdio>
#include <memory>
namespace Raygen
{
class Object
{
public:
@javedulu
javedulu / lsda.py
Last active March 25, 2024 16:45
binout to h5 conversion [ lsda2h5.py ] - LS-Dyna simulations
#!/usr/bin/python
#
# Module of code to read/write LSDA binary files.
#
import glob
import string
import struct
import sys
#
##################################################################
@javedulu
javedulu / d3treeAddDynamicChild.js
Created October 1, 2014 11:42
Adding Dynamic content to d3.js tree on click of child node : http://bl.ocks.org/d3noob/8375092
function click(d) {
if (!d.children && !d._children)
{
d3.json("http://xxxx:2222/getChildNodes", function(error,response) {
response.children.forEach(function(child){
if (!tree.nodes(d)[0]._children){
tree.nodes(d)[0]._children = [];
}
child.x = d.x0;
child.y = d.y0;