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
# Define paths | |
$pathX = "C:\path\to\x" | |
$pathY = "C:\path\to\y" | |
$pathZ = "C:\path\to\z" | |
# Define filenames | |
$fileName = "w.js" | |
$backupExtension = ".bk" | |
# Run 'npm run build' at path X |
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.generic.jni.byref; | |
/** | |
* class to facilitate passing of integer values by reference. | |
* @author Naveed | |
*/ | |
public class IntegerByReference { | |
private int value; | |
public IntegerByReference(int value) { |
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
/// <summary> | |
/// Converting text to image (png). | |
/// </summary> | |
/// <param name="text">text to convert</param> | |
/// <param name="font">Font to use</param> | |
/// <param name="textColor">text color</param> | |
/// <param name="maxWidth">max width of the image</param> | |
/// <param name="path">path to save the image</param> | |
public static void DrawText(String text, Font font, Color textColor,int maxWidth,String path) | |
{ |
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
using System; | |
using System.Collections; | |
using System.Text; | |
using System.Windows; | |
using System.Windows.Controls; | |
namespace CryptoTools.UI.Controls | |
{ | |
public class CheckedComboBox : ComboBox |
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 org.almuallim.database; | |
import java.io.File; | |
import java.io.IOException; | |
import java.sql.Connection; | |
import java.sql.DatabaseMetaData; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; |
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 org.almuallim.utils; | |
import java.awt.Color; | |
import java.awt.Font; | |
import java.awt.Graphics2D; | |
import java.awt.RenderingHints; | |
import java.awt.font.FontRenderContext; | |
import java.awt.font.LineBreakMeasurer; | |
import java.awt.font.TextAttribute; | |
import java.awt.font.TextLayout; |