10.0.19041.662

[10.0.19041.662]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=88E81
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=0CAE2
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=189D5
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1D50C
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.19041.662-SLInit]
bInitialized.x64 =106028
bServerSku.x64 =10602C
lMaxUserSessions.x64 =106030
bAppServerAllowed.x64 =106038
bRemoteConnAllowed.x64=106040
bMultimonAllowed.x64 =106044
ulMaxDebugSessions.x64=106048
bFUSEnabled.x64 =10604C

SERVER 2012 R2 foundation

When you go to install an upgrade, the supported upgrade paths are checked in 2 registry Values located in “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version”

Value 1: ProductName / Value 2: EditionID

If you can look up these values in an existing server, you find that Server 2012 R2 Standard ProductName=Windows Server 2012 R2 Standand / EditionID=ServerStandard

By changing the values that were in there for Foundation to these, I was able to immediately (no reboot needed) launch the Server 2012 R2 Standard setup and it proceeded to perform an in-place upgrade that worked flawlessly.

Hopefully this helps out someone else stuck in a similar circumstance. PS – You can use a similar procedure to upgrade Windows 7/10 Professional to Enterprise

ที่มา https://serverfault.com/questions/473565/in-place-upgrade-from-windows-server-2012-foundation-to-windows-server-2012-stan

User Certificate folder in Windows 7

ชื่อไฟล์ ดูได้จาก Thumbprint ไปหา ไฟล์ ได้ที่ folder

%APPDATA%\Microsoft\SystemCertificates\My\Certificates

ที่อยู่ของ Key
%USERPROFILE%\AppData\Roaming\Microsoft\Crypto\RSA\SID


%USERPROFILE%\AppData\Roaming\Microsoft\Credentials
%USERPROFILE%\AppData\Roaming\Microsoft\Protect\SID

Ref:https://superuser.com/questions/411909/where-is-the-certificate-folder-in-windows-7

Creative A350 Mini Din9 (MD-90SM) Pinout

Creative A350 Mini Din 9Creative A350 Mini Din 9 pin MD-90SM Pinout 
1. Signal Ground
2  Signal Ground  (Right Ground)
3. L in from 3.5 mm Jack
4  R in from 3.5 mm Jack
Right Speaker (R) Out
6 VCC+ to Switch On/OFF
7. Signal Ground
8  Right Speaker (R) Out
9 Switch to STAND BY PIN 


10.0.14393.3503

[10.0.14393.3503]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=A6578
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=8D8A1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=36CE5
SingleUserCode.x86=nop
SingleUserPatch.x64=1
SingleUserOffset.x64=1B6A4
SingleUserCode.x64=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=31209
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=F185
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x86=1
SLInitOffset.x86=45912
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=22C80
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.14393.3503-SLInit]
bInitialized.x86 =C2F94
bServerSku.x86 =C2F98
lMaxUserSessions.x86 =C2F9C
bAppServerAllowed.x86 =C2FA0
bRemoteConnAllowed.x86=C2FA4
bMultimonAllowed.x86 =C2FA8
ulMaxDebugSessions.x86=C2FAC
bFUSEnabled.x86 =C2FB0
bServerSku.x64 =E73D0
lMaxUserSessions.x64 =E73D4
bAppServerAllowed.x64 =E73D8
bInitialized.x64 =E8470
bRemoteConnAllowed.x64=E8474
bMultimonAllowed.x64 =E8478
ulMaxDebugSessions.x64=E847C
bFUSEnabled.x64 =E8480

ป้าพรกล่าวกับเจ๊วีน

WOW I write about my love for motherland and your response is to insult me. This anger, disrespect and disregard for something you don’t fully understand is the antithesis of what it means to be Thai. Every history (including your own) has parts that can be scrutinized. Why not move forward holding onto the proudest virtues rather than condemning it all. I send your peace ,love and understanding.

ฉันเขียนเกี่ยวกับความรักที่มีต่อมาตุภูมิและคำตอบของคุณคือดูถูกฉัน ความโกรธการดูหมิ่นและการไม่สนใจสิ่งที่คุณไม่เข้าใจอย่างถ่องแท้นี้เป็นสิ่งที่ตรงกันข้ามกับความเป็นไทย ทุกประวัติศาสตร์ (รวมถึงของคุณเอง) มีส่วนที่สามารถกลั่นกรองได้ ทำไมไม่เดินหน้ายึดมั่นในคุณธรรมที่น่าภาคภูมิใจมากกว่าที่จะประณามมันทั้งหมด ฉันส่งความสงบความรักและความเข้าใจของคุณ

You are doing our country, yourself and the world an injustice with your hateful rhetoric. Why note use your education to inspire positive changes rather than an this angry doctrine?? As a mother, I too what whats best for our youth and their future. But the middle finger is not a wise one to choose when pointing the way. I am Not being political… just expressing my sadness for this explosive approach

คุณกำลังทำให้ประเทศของเราตัวคุณเองและโลกนี้มีความอยุติธรรมด้วยวาทศิลป์ที่น่าเกลียดชังของคุณ เหตุใดจึงควรใช้การศึกษาของคุณเพื่อสร้างแรงบันดาลใจให้เกิดการเปลี่ยนแปลงในเชิงบวกแทนที่จะใช้คำสอนที่น่าโกรธ ในฐานะแม่ฉันก็เช่นกันสิ่งที่ดีที่สุดสำหรับเยาวชนและอนาคตของพวกเขา แต่นิ้วกลางไม่ฉลาดที่จะเลือกเมื่อชี้ทาง. ฉันไม่ได้ยุ่งเกี่ยวกับการเมือง … แค่แสดงความเสียใจต่อวิธีการที่รุนแรงนี้

Arduino Wind Direction

int VaneValue;// raw analog value from wind vane
int Direction;// translated 0 – 360 direction
int CalDirection;// converted value with offset applied
int LastValue;

#define Offset 0;

void setup() {
LastValue = 1;
Serial.begin(19200);
Serial.println(“Vane Value\tDirection\tHeading”);
}

void loop() {
VaneValue = analogRead(A1);
Direction = map(VaneValue, 0, 1023, 0, 360);
CalDirection = Direction + Offset;

if(CalDirection > 360)
CalDirection = CalDirection – 360;

if(CalDirection < 0)
CalDirection = CalDirection + 360;

// Only update the display if change greater than 2 degrees.
if(abs(CalDirection – LastValue) > 5)
{
Serial.print(VaneValue); Serial.print(“\t\t”);
Serial.print(CalDirection); Serial.print(“\t\t”);
getHeading(CalDirection);
LastValue = CalDirection;
}
delay(100);
}

// Converts compass direction to heading
void getHeading(int direction) {
if (direction >= 52 && direction <= 53) {
Serial.println(“SSE”);
}
else if (direction >= 58 && direction <=61) {
Serial.println(“SE”);
}
else if (direction >= 56 && direction <= 57) {
Serial.println(“SEE”);
}
else if (direction >= 86 && direction <=92) {
Serial.println(“S”);
}
else if (direction >= 68 && direction <=70) {
Serial.println(“SSW”);
}
else if (direction >= 110 && direction <=123) {
Serial.println(“SW”);
}
else if (direction >= 104 && direction <=106) {
Serial.println(“SWW”);
}
else if (direction >= 172 && direction <=176) {
Serial.println(“E”);
}
else if (direction >= 154 && direction <=156) {
Serial.println(“NEE”);
}
else if (direction >= 278 && direction <=280) {
Serial.println(“NE”);
}
else if (direction >= 226 && direction <=230){
Serial.println(“W”);
}
else if (direction >= 251 && direction <= 253) {
Serial.println(“NNE”);
}
else if (direction >= 312 && direction <= 314){
Serial.println(“N”);
}
else if (direction >= 292 && direction <= 293){
Serial.println(“NNW”);
}
else if (direction >= 332 && direction <= 337){
Serial.println(“NW”);
}
else if (direction >= 216 && direction <= 218){
Serial.println(“NWW”);
}
else
Serial.println(“N”);
}

 

Ref:http://www.philpot.me/weatherinsider.html

Arduino Uno Wind Speed Way 2

#include <math.h>
#include <millisDelay.h>

#define windSensorPin 2
millisDelay timerDelay;

int windCounter = 0;
float windSpeedM = 0;
float windSpeedK = 0;
int windPulse = 0;
int pulses = 0;
int startTest = 1;
int windTest1 = 1;
int windTest2 = 0;
int windTimer = 1;
int result = 1;

int timerStart = 1;

void setup() {
// Set console baud rate
Serial.begin(19200);
pinMode(windSensorPin, OUTPUT);
// pinMode(RainPin, OUTPUT);
// pinMode(windDirectionPin, INPUT);
delay(10);

}

void loop() {
if (digitalRead(windSensorPin) < 1 && startTest == 1 )
{
// windDirValue = analogRead(windDirectionPin);
// windDir = map(windDirValue, 1, 1024, 1, 5000);
windTest1 = 1;
windTest2 = 1;
windTimer = 1;
result = 1;
startTest = 0;
}
WindSpeed();
if (digitalRead(windSensorPin) < 1 && timerStart == 1)
{
timerDelay.start(3000);
result = 1;
timerStart = 0;
}
if (timerDelay.justFinished() && result == 1)
{
windSpeedM = 1.25 * (pulses/3);
windSpeedK = windSpeedM * 1.60934;
Serial.print(“WindSpeed: “);
Serial.print(windSpeedM);
Serial.print(” mph tt”);
Serial.print(windSpeedK);
Serial.println(” kphtt”);

// Blynk.virtualWrite(V2,windSpeed);
pulses = 0;
windSpeedM = 0;
startTest = 1;
result = 0;
timerStart = 1;

}

}
void WindSpeed()
{
if (digitalRead(windSensorPin) < 1)
{
windCounter++;
}
if (windCounter > 0 && digitalRead(windSensorPin) == 1 && windTest1 == 1)
{
windPulse += 1;
windCounter = 0;

}

if (windPulse == 3 && windTest2 == 1)
{
pulses += 2;
//Serial.println(pulses);
windPulse = 0;
}

}

ref:https://community.createlabz.com/knowledgebase/mini-weather-station-rain-gauge-wind-speed-wind-direction-using-blynk-and-sim800c/

Arduino Uno Wind Speed Way 1

#include “TimerOne.h” // Timer Interrupt set to 2 second for read sensors
#include <math.h>
#include <Time.h>

// speed ok near speed-3.ino

#define WindSensorPin (2) // The pin location of the anemometer sensor
char wind[10]; //empty array where to put the numbers going to the master

int LastValue;
//int wind = 0;
volatile bool IsSampleRequired; // this is set true every 2.5s. Get wind speed
volatile unsigned int TimerCount; // used to determine 2.5sec timer count
volatile unsigned long Rotations; // cup rotation counter used in interrupt routine
volatile unsigned long ContactBounceTime; // Timer to avoid contact bounce in interrupt routine
float WindSpeed; // speed miles per hour
byte x = 0;

void setup() {
Serial.begin(19200);
pinMode(WindSensorPin, INPUT);
attachInterrupt(digitalPinToInterrupt(WindSensorPin), isr_rotation, FALLING);
Serial.println(“Davis Anemometer Test”);
Serial.println(“Speed (MPH)tKnotstDirectiontStrength”);
Timer1.initialize(500000);
Timer1.attachInterrupt(isr_timer);

}

void loop() {
if(IsSampleRequired)
{
// convert to mp/h using the formula V=P(2.25/T)
// V = P(2.25/2.5) = P * 0.9
WindSpeed = Rotations * 0.48;

Rotations = 0; // Reset count for next sample
// wind = WindSpeed;

IsSampleRequired = false;

Serial.print(WindSpeed); Serial.println(“tt”);
// Serial.print(getKnots(WindSpeed)); Serial.print(“t”);
// Serial.print(CalDirection);
// getHeading(CalDirection); Serial.print(“tt”);
// getWindStrength(WindSpeed);

}
}
void isr_timer() {

TimerCount++;

if(TimerCount == 5)
{
IsSampleRequired = true;
TimerCount = 0;
}
}
void isr_rotation () {

if ((millis() – ContactBounceTime) > 15 ) { // debounce the switch contact.
Rotations++;
ContactBounceTime = millis();
}

ref:http://cmfc-weatherstation.blogspot.com/2016/

10.0.19041.84

[10.0.19041.84]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=B46B9
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=87611
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=3AD27
SingleUserCode.x86=Zero
SingleUserPatch.x64=1
SingleUserOffset.x64=0BF0C
SingleUserCode.x64=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=3D7D9
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=17ED5
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x86=1
SLInitOffset.x86=66658
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=1BDFC
SLInitFunc.x64=New_CSLQuery_Initialize
[10.0.19041.84-SLInit]
bInitialized.x86 =CF920
bServerSku.x86 =CF924
lMaxUserSessions.x86 =CF928
bAppServerAllowed.x86 =CF930
bRemoteConnAllowed.x86=CF938
bMultimonAllowed.x86 =CF93C
ulMaxDebugSessions.x86=CF940
bFUSEnabled.x86 =CF944
bInitialized.x64 =103FF8
bServerSku.x64 =103FFC
lMaxUserSessions.x64 =104000
bAppServerAllowed.x64 =104008
bRemoteConnAllowed.x64=104010
bMultimonAllowed.x64 =104014
ulMaxDebugSessions.x64=104018
bFUSEnabled.x64 =10401C

net start termservice